taskcafe/api/migrations/0043_add-role_code-column-to-team_member-table.up.sql

2 lines
100 B
SQL

ALTER TABLE team_member ADD COLUMN role_code TEXT NOT NULL REFERENCES role(code) ON DELETE CASCADE;