chore: add postgres schema migrations
This commit is contained in:
11
drizzle.config.ts
Normal file
11
drizzle.config.ts
Normal 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",
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user