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

6 lines
169 B
MySQL
Raw Normal View History

2024-03-25 01:47:52 +00:00
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;