0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

📎 Avoid email index change on profile indexes migration

This commit is contained in:
Andrey Antukh 2023-01-21 10:56:47 +01:00
parent 14f39b8028
commit fa17ce5d40

View file

@ -1,6 +1,3 @@
DROP INDEX profile__email__idx;
CREATE INDEX profile__email__idx ON profile(email);
ALTER TABLE profile
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;