mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
📎 Avoid email index change on profile indexes migration
This commit is contained in:
parent
14f39b8028
commit
fa17ce5d40
@ -1,6 +1,3 @@
|
|||||||
DROP INDEX profile__email__idx;
|
|
||||||
CREATE INDEX profile__email__idx ON profile(email);
|
|
||||||
|
|
||||||
ALTER TABLE profile
|
ALTER TABLE profile
|
||||||
ADD COLUMN default_project_id uuid NULL REFERENCES project(id) ON DELETE SET NULL DEFERRABLE,
|
ADD COLUMN default_project_id uuid NULL REFERENCES project(id) ON DELETE SET NULL DEFERRABLE,
|
||||||
ADD COLUMN default_team_id uuid NULL REFERENCES team(id) ON DELETE SET NULL DEFERRABLE;
|
ADD COLUMN default_team_id uuid NULL REFERENCES team(id) ON DELETE SET NULL DEFERRABLE;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user