standardize client titles

This commit is contained in:
miloschwartz
2026-06-09 21:36:46 -07:00
committed by Owen
parent c789e967db
commit a1ab8d8f35
2 changed files with 27 additions and 36 deletions

View File

@@ -619,6 +619,14 @@ export default async function migration() {
`);
}
// clear the sso, applyRules, and emailWhitelistEnabled columns on all resources since that information is now in the resource policies
await db.execute(sql`
UPDATE "resources"
SET "sso" = null,
"applyRules" = null,
"emailWhitelistEnabled" = null
`);
await db.execute(sql`COMMIT`);
console.log(
`Migrated inline resource policies for ${existingResources.length} resource(s)`