mirror of
https://github.com/penpot/penpot.git
synced 2026-05-14 04:24:01 +00:00
- Fix bugs related to orphan teams on profile deletion - Separate session based profile-id param from api user provided
4 lines
254 B
SQL
4 lines
254 B
SQL
ALTER TABLE team_profile_rel DROP CONSTRAINT team_profile_rel_pkey;
|
|
ALTER TABLE team_profile_rel ADD COLUMN id uuid DEFAULT uuid_generate_v4() PRIMARY KEY;
|
|
ALTER TABLE team_profile_rel ADD CONSTRAINT team_profile_rel_unique UNIQUE (team_id, profile_id);
|