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

2 lines
61 B
MySQL
Raw Normal View History

ALTER TABLE project_member ADD UNIQUE (project_id, user_id);