This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Description
My understanding (as someone new to Convex), is that if I create schema.ts, I'm required to define all tables, in this case, all of my own tables + better auth's tables.
For this reason, Convex Auth's implementation, as an example, imports the auth-related schema via ...authTables. This seems to be missing for better auth.
// schema.ts
import { authTables } from "@convex-dev/auth/server";
import { defineSchema, defineTable } from "convex/server";
import { v } from "convex/values";
const schema = defineSchema({
...authTables,
tasks: defineTable({
text: v.string(),
isCompleted: v.boolean(),
}),
});
export default schema;