taskcafe/migrations/0057_add-project_member_invited-table.up.sql

8 lines
314 B
MySQL
Raw Normal View History

2020-11-22 21:11:13 +01:00
CREATE TABLE project_member_invited (
project_member_invited_id uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
project_id uuid NOT NULL
REFERENCES project(project_id) ON DELETE CASCADE,
user_account_invited_id uuid NOT NULL
REFERENCES user_account_invited(user_account_invited_id) ON DELETE CASCADE
);