Files
api/prisma/migrations/20260817120000_tenant_setting/migration.sql
T
mohmdsdgandCursor f2cf8c9035 feat(tenants): store Khanegi deploy settings snapshot on tenants.setting
Import can_edit=0 settings via the sold version's admin login + get_settings, for Super Admin program-settings UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 15:02:22 +03:30

5 lines
136 B
SQL

-- Snapshot of Khanegi deploy settings (can_edit=0) per sold version
ALTER TABLE "tenants"
ADD COLUMN IF NOT EXISTS "setting" JSONB;