This commit is contained in:
2026-05-20 15:40:17 +07:00
parent 230eb9010c
commit dd3fd889a3
48 changed files with 3374 additions and 737 deletions

15
drizzle.config.ts Normal file
View File

@@ -0,0 +1,15 @@
import type { Config } from "drizzle-kit";
export default {
schema: "./src/lib/db/schema.ts",
out: "./db/migrations",
dialect: "postgresql",
dbCredentials: {
host: process.env.PGHOST ?? "",
user: process.env.PGUSER ?? "",
password: process.env.PGPASSWORD ?? "",
database: process.env.PGDATABASE ?? "",
port: process.env.PGPORT ? Number(process.env.PGPORT) : 5432,
ssl: false,
},
} satisfies Config;