mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-18 14:55:22 +00:00
♻️ add default sso: true to resource policy table
This commit is contained in:
@@ -602,6 +602,7 @@ export const resourceRules = pgTable("resourceRules", {
|
|||||||
|
|
||||||
export const resourcePolicies = pgTable("resourcePolicies", {
|
export const resourcePolicies = pgTable("resourcePolicies", {
|
||||||
resourcePolicyId: serial('resourcePolicyId').primaryKey(),
|
resourcePolicyId: serial('resourcePolicyId').primaryKey(),
|
||||||
|
sso: boolean("sso").notNull().default(true),
|
||||||
idpId: integer("idpId").references(() => idp.idpId, {
|
idpId: integer("idpId").references(() => idp.idpId, {
|
||||||
onDelete: "set null"
|
onDelete: "set null"
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user