mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-29 04:09:42 +00:00
remove delete on cascade for skipToIdp on resource closes #1654
This commit is contained in:
parent
560974f7d2
commit
43e6b7de07
2 changed files with 2 additions and 2 deletions
|
|
@ -126,7 +126,7 @@ export const resources = sqliteTable("resources", {
|
|||
setHostHeader: text("setHostHeader"),
|
||||
enableProxy: integer("enableProxy", { mode: "boolean" }).default(true),
|
||||
skipToIdpId: integer("skipToIdpId").references(() => idp.idpId, {
|
||||
onDelete: "cascade"
|
||||
onDelete: "set null"
|
||||
}),
|
||||
headers: text("headers"), // comma-separated list of headers to add to the request
|
||||
proxyProtocol: integer("proxyProtocol", { mode: "boolean" }).notNull().default(false),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue