refactor(migrations): remove obsolete platform accounts indexing scripts
Backend CI / Backend (push) Successful in 13m50s

This commit is contained in:
2026-05-06 14:00:13 +08:00
parent e3c0fe98d7
commit ccffe87e28
2 changed files with 0 additions and 12 deletions
@@ -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;