actaeon/migrations/sqls/20240321023539-add-team-to-user-ext-up.sql

6 lines
169 B
SQL

ALTER TABLE actaeon_user_ext
ADD COLUMN team CHAR(36),
ADD CONSTRAINT fk_team FOREIGN KEY(team) REFERENCES actaeon_teams(uuid)
ON DELETE CASCADE ON UPDATE CASCADE;