actaeon/migrations/sqls/20240328113145-modify-team-user-ext-fk-down.sql

6 lines
198 B
MySQL
Raw Normal View History

2024-03-30 10:29:55 +00:00
ALTER TABLE actaeon_user_ext
DROP CONSTRAINT fk_team;
ALTER TABLE actaeon_user_ext
ADD CONSTRAINT fk_team FOREIGN KEY(team) REFERENCES actaeon_teams(uuid)
ON DELETE CASCADE ON UPDATE CASCADE;