zen: update sticky session logic
This commit is contained in:
parent
8ad3a4b217
commit
fa077b92b1
5 changed files with 2871 additions and 7 deletions
|
|
@ -51,3 +51,13 @@ export const ModelTpsRateLimitTable = mysqlTable(
|
|||
},
|
||||
(table) => [primaryKey({ columns: [table.id, table.interval] })],
|
||||
)
|
||||
|
||||
export const ModelStickyProviderTable = mysqlTable(
|
||||
"model_sticky_provider",
|
||||
{
|
||||
id: varchar("id", { length: 255 }).notNull(),
|
||||
...timestamps,
|
||||
providerId: varchar("provider_id", { length: 255 }).notNull(),
|
||||
},
|
||||
(table) => [primaryKey({ columns: [table.id] })],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue