taskcafe/migrations/0040_add-unique-constraint-to-project_member-table.up.sql

2 lines
61 B
MySQL
Raw Permalink Normal View History

ALTER TABLE project_member ADD UNIQUE (project_id, user_id);