This commit is contained in:
David Senoner 2025-05-18 13:18:46 +02:00
commit 0738070ce1
287 changed files with 10116 additions and 0 deletions

18
drizzle.config.js Normal file
View file

@ -0,0 +1,18 @@
import { defineConfig } from "drizzle-kit";
if (!process.env.DATABASE_URL) throw new Error("DATABASE_URL is not set");
export default defineConfig({
schema: "./src/lib/server/db/schema.js",
dbCredentials: {
url: process.env.DATABASE_URL,
},
verbose: true,
strict: true,
dialect: "postgresql",
casing: "snake_case",
migrations: {
prefix: "timestamp",
},
});