Add ability for sticky sessions to backend resource.

This commit is contained in:
Matthew Evans 2025-04-11 03:00:43 -04:00
parent 8b0c30f19f
commit ac8e315fbd
6 changed files with 99 additions and 9 deletions

View file

@ -77,7 +77,10 @@ export const resources = sqliteTable("resources", {
applyRules: integer("applyRules", { mode: "boolean" })
.notNull()
.default(false),
enabled: integer("enabled", { mode: "boolean" }).notNull().default(true)
enabled: integer("enabled", { mode: "boolean" }).notNull().default(true),
stickySession: integer("stickySession", { mode: "boolean" })
.notNull()
.default(false)
});
export const targets = sqliteTable("targets", {