fix(server): scope platform accounts to desktop clients
This commit is contained in:
@@ -48,9 +48,6 @@ CREATE TABLE platform_accounts (
|
||||
deleted_at TIMESTAMPTZ
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX uk_platform_accounts_identity_active
|
||||
ON platform_accounts(tenant_id, platform_id, platform_uid)
|
||||
WHERE deleted_at IS NULL;
|
||||
CREATE INDEX idx_platform_accounts_tenant_platform ON platform_accounts(tenant_id, platform_id, status, created_at DESC);
|
||||
|
||||
CREATE TABLE publish_batches (
|
||||
|
||||
Reference in New Issue
Block a user