Drop unique tenant_id on server_accounts and add create/update/delete/renew APIs per server account, with list/expiring using the worst status. Co-authored-by: Cursor <cursoragent@cursor.com>
5 lines
228 B
SQL
5 lines
228 B
SQL
-- Allow multiple hosting servers per sold version (tenant).
|
|
DROP INDEX IF EXISTS "public"."server_accounts_tenant_id_key";
|
|
|
|
CREATE INDEX IF NOT EXISTS "server_accounts_tenant_id_idx" ON "public"."server_accounts"("tenant_id");
|