This commit is contained in:
Frank 2026-04-20 16:05:00 -04:00
parent 06dde3afd3
commit bad025eba9
3 changed files with 2656 additions and 10 deletions

View file

@ -0,0 +1 @@
DROP TABLE `model_rate_limit`;

File diff suppressed because it is too large Load diff

View file

@ -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] })],
)