Add Tenant.serverAccessBlocked, toggle API with appVersion bump and settings push, and expose stealth server_reachable in get_user. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
274 B
SQL
8 lines
274 B
SQL
-- Per-tenant app/admin access kill switch (shared physical servers stay up)
|
|
|
|
ALTER TABLE "tenants"
|
|
ADD COLUMN IF NOT EXISTS "server_access_blocked" BOOLEAN NOT NULL DEFAULT false;
|
|
|
|
ALTER TABLE "tenants"
|
|
ADD COLUMN IF NOT EXISTS "server_access_blocked_at" TIMESTAMP(3);
|