chore: add postgres schema migrations

This commit is contained in:
chungyeong
2026-05-09 22:30:49 +09:00
parent 6bd4c9382a
commit 38f3472d9c
18 changed files with 3399 additions and 1 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: "./packages/db/src/schema/index.ts",
out: "./packages/db/src/migrations",
dialect: "postgresql",
dbCredentials: {
url: process.env.DATABASE_URL ?? "postgres://devflow:devflow@127.0.0.1:55432/devflow",
},
});