mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-10 01:13:22 +01:00
7 lines
188 B
MySQL
7 lines
188 B
MySQL
|
ALTER TABLE `USER` DROP COLUMN `id`;
|
||
|
|
||
|
ALTER TABLE `ACCESS_AUDITORY`
|
||
|
ADD CONSTRAINT
|
||
|
FOREIGN KEY (user_id) REFERENCES USER (colaborator_id)
|
||
|
ON DELETE CASCADE
|
||
|
ON UPDATE NO ACTION;
|