actaeon/migrations/sqls/20240328113145-modify-team-user-ext-fk-down.sql
2024-03-30 06:29:55 -04:00

6 lines
198 B
SQL

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;