mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 14:00:30 +00:00
sync
This commit is contained in:
parent
06dde3afd3
commit
bad025eba9
3 changed files with 2656 additions and 10 deletions
|
|
@ -0,0 +1 @@
|
|||
DROP TABLE `model_rate_limit`;
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -39,13 +39,3 @@ export const ModelTpmLimitTable = mysqlTable(
|
|||
},
|
||||
(table) => [primaryKey({ columns: [table.id] })],
|
||||
)
|
||||
|
||||
export const ModelRateLimitTable = mysqlTable(
|
||||
"model_rate_limit",
|
||||
{
|
||||
key: varchar("key", { length: 255 }).notNull(),
|
||||
interval: varchar("interval", { length: 40 }).notNull(),
|
||||
count: int("count").notNull(),
|
||||
},
|
||||
(table) => [primaryKey({ columns: [table.key, table.interval] })],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue