fix(convex): retain built rate limit index

This commit is contained in:
Vincent Koc
2026-05-02 18:37:10 -07:00
parent 51d4633df0
commit ca4899078d
+1
View File
@@ -1466,6 +1466,7 @@ const rateLimits = defineTable({
updatedAt: v.number(),
})
.index("by_key_window", ["key", "windowStart"])
.index("by_key_window_shard", ["key", "windowStart", "shard"])
.index("by_key", ["key"]);
const rateLimitShards = defineTable({