init commit
This commit is contained in:
13
convex/schema.ts
Normal file
13
convex/schema.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineSchema, defineTable } from "convex/server";
|
||||
import { v } from "convex/values";
|
||||
import { authTables } from "@convex-dev/auth/server";
|
||||
|
||||
// The schema is normally optional, but Convex Auth
|
||||
// requires indexes defined on `authTables`.
|
||||
// The schema provides more precise TypeScript types.
|
||||
export default defineSchema({
|
||||
...authTables,
|
||||
numbers: defineTable({
|
||||
value: v.number(),
|
||||
}),
|
||||
});
|
Reference in New Issue
Block a user