mirror of
https://github.com/dylanbenzi/yellowbird.git
synced 2026-11-27 01:07:01 +00:00
16 lines
408 B
TypeScript
16 lines
408 B
TypeScript
import { defineConfig } from "drizzle-kit";
|
|
|
|
export default defineConfig({
|
|
schema: "./src/db/schema.ts",
|
|
out: "./src/db/migrations",
|
|
dialect: "postgresql",
|
|
dbCredentials: {
|
|
host: process.env.DATABASE_HOST as string,
|
|
user: process.env.DATABASE_USER as string,
|
|
password: process.env.DATABASE_PASSWORD as string,
|
|
database: process.env.DATABASE_NAME as string,
|
|
},
|
|
verbose: true,
|
|
strict: true,
|
|
});
|