refactor(migrations): remove obsolete platform accounts indexing scripts
Backend CI / Backend (push) Successful in 13m50s
Backend CI / Backend (push) Successful in 13m50s
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
DROP INDEX IF EXISTS uk_platform_accounts_identity_active;
|
|
||||||
DROP INDEX IF EXISTS uniq_platform_accounts_workspace_identity_active;
|
|
||||||
|
|
||||||
CREATE UNIQUE INDEX IF NOT EXISTS uniq_platform_accounts_workspace_identity_active
|
|
||||||
ON platform_accounts (workspace_id, client_id, platform_id, platform_uid)
|
|
||||||
WHERE deleted_at IS NULL;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
DROP INDEX IF EXISTS uk_platform_accounts_identity_active;
|
|
||||||
DROP INDEX IF EXISTS uniq_platform_accounts_workspace_identity_active;
|
|
||||||
|
|
||||||
CREATE UNIQUE INDEX IF NOT EXISTS uniq_platform_accounts_workspace_identity_active
|
|
||||||
ON platform_accounts (workspace_id, client_id, platform_id, platform_uid)
|
|
||||||
WHERE deleted_at IS NULL;
|
|
||||||
Reference in New Issue
Block a user