feat: move database to postgres

This commit is contained in:
2025-12-20 21:21:10 +00:00
parent 350f88446e
commit 3b03b32046
11 changed files with 1345 additions and 114 deletions

10
drizzle.config.ts Normal file
View File

@@ -0,0 +1,10 @@
import { defineConfig } from 'drizzle-kit';
export default defineConfig({
schema: './app/lib/db/schema.ts',
out: './drizzle',
dialect: 'postgresql',
dbCredentials: {
url: process.env.DATABASE_URL!,
},
});