feat: add drizzle

This commit is contained in:
Max Koon
2025-10-14 19:06:52 -04:00
parent 032f38b711
commit e27a48edb5
20 changed files with 920 additions and 77 deletions

View File

@@ -5,6 +5,14 @@
"private": true,
"exports": {
".": "./src/index.ts",
"./auth": "./src/auth.ts"
"./auth": "./src/auth.ts",
"./db": "./src/db/index.ts"
},
"dependencies": {
"drizzle-zero": "^0.14.3"
},
"scripts": {
"generate:zero": "drizzle-zero generate -s ./src/db/schema/public.ts -o ./src/zero-schema.gen.ts -f",
"db:migrate": "drizzle-kit push"
}
}