Property 'userTable' does not exist on type 'DrizzleTypeError<"Seems like the schema generic is.. ">

GitHub
Contribute to Boby900/lucia-demo development by creating an account on GitHub.
Solution
Hey @Boby
It seems to me that you've not passed your schemas to the function call while create the db instance like following
It seems to me that you've not passed your schemas to the function call while create the db instance like following
import * as schema from "./schema";
import { drizzle } from "drizzle-orm/postgres-js";
import postgres from "postgres";
const queryClient = postgres(process.env.DATABASE_URL);
export const db = drizzle(queryClient, { schema });