move to drizzle instead of prisma

This commit is contained in:
JonLuca De Caro
2026-03-25 09:24:14 -07:00
parent e7686fd6d7
commit c1098561fb
14 changed files with 757 additions and 951 deletions

11
drizzle.config.ts Normal file
View File

@@ -0,0 +1,11 @@
import "dotenv/config";
import { defineConfig } from "drizzle-kit";
export default defineConfig({
schema: "./src/server/schema.ts",
out: "./drizzle",
dialect: "postgresql",
dbCredentials: {
url: process.env.DATABASE_URL ?? "",
},
});