wisemapping-open-source/config/database/mysql/v3.0-to-v3.2.sql

7 lines
188 B
MySQL
Raw Normal View History

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;