This commit is contained in:
@@ -107,7 +107,8 @@ export default defineSchema({
|
||||
username: v.string(),
|
||||
expiresAt: v.number(), // timestamp
|
||||
}).index("by_channel", ["channelId"])
|
||||
.index("by_user", ["userId"]),
|
||||
.index("by_user", ["userId"])
|
||||
.index("by_expires_at", ["expiresAt"]),
|
||||
|
||||
voiceStates: defineTable({
|
||||
channelId: v.id("channels"),
|
||||
|
||||
Reference in New Issue
Block a user