Umstellung auf PostgresDB & user Table & update drizzle

This commit is contained in:
2025-02-06 17:42:16 -06:00
parent 260fc5a01a
commit 5b475f197a
15 changed files with 513 additions and 643 deletions

View File

@@ -3,8 +3,8 @@ import { defineConfig } from 'drizzle-kit';
export default defineConfig({
out: './drizzle',
schema: './api/src/db/schema.ts',
dialect: 'sqlite',
dialect: 'postgresql',
dbCredentials: {
url: 'file:local1.db',
url: process.env['DATABASE_URL'],
},
});
});