Release / update-version (push) Has been cancelled
Release / build-frontend (push) Has been cancelled
Release / release (push) Has been cancelled
Release / sync-version-file (push) Has been cancelled
CI / shell (push) Canceled after 0s
CI / test (push) Canceled after 0s
CI / frontend (push) Canceled after 0s
CI / golangci-lint (push) Canceled after 0s
Security Scan / backend-security (push) Canceled after 0s
Security Scan / frontend-security (push) Canceled after 0s
7 lines
358 B
SQL
7 lines
358 B
SQL
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_accounts_parent_account_id
|
|
ON accounts (parent_account_id) WHERE parent_account_id IS NOT NULL;
|
|
|
|
CREATE UNIQUE INDEX CONCURRENTLY IF NOT EXISTS uq_accounts_spark_shadow_per_parent
|
|
ON accounts (parent_account_id)
|
|
WHERE parent_account_id IS NOT NULL AND quota_dimension = 'spark' AND deleted_at IS NULL;
|