From fa17ce5d40e8b9bd4ead09c2027cf4f99b3e76cf Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 21 Jan 2023 10:56:47 +0100 Subject: [PATCH] :paperclip: Avoid email index change on profile indexes migration --- backend/src/app/migrations/sql/0100-mod-profile-indexes.sql | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/src/app/migrations/sql/0100-mod-profile-indexes.sql b/backend/src/app/migrations/sql/0100-mod-profile-indexes.sql index a27313a0a..2aa84b3e1 100644 --- a/backend/src/app/migrations/sql/0100-mod-profile-indexes.sql +++ b/backend/src/app/migrations/sql/0100-mod-profile-indexes.sql @@ -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;