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

6 lines
199 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 SET NULL ON UPDATE CASCADE;