feat: Add by_owner index to the projects table, remove redundant query filter, and update isAuthenticated export.
This commit is contained in:
@@ -11,7 +11,7 @@ const schema = defineSchema({
|
||||
dorkingConfig: v.object({
|
||||
selectedSourceIds: v.array(v.id("dataSources")),
|
||||
}),
|
||||
}),
|
||||
}).index("by_owner", ["userId"]),
|
||||
dataSources: defineTable({
|
||||
projectId: v.id("projects"),
|
||||
type: v.literal("website"),
|
||||
|
||||
Reference in New Issue
Block a user