initial commit

This commit is contained in:
Zoe
2026-01-11 05:04:29 -06:00
commit 0877cc10bd
65 changed files with 5009 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { drizzle } from "drizzle-orm/node-postgres";
import * as schema from "~~/db/schema";
export const useDrizzle = () => {
return drizzle(process.env.DATABASE_URL!)
}
export const tables = schema;
export const UserInsert = schema.user.$inferInsert;
export type UserRegisterType = Omit<typeof UserInsert, "createdAt" | "updatedAt" | "id" | "emailVerified">;