12 lines
318 B
TypeScript
12 lines
318 B
TypeScript
import { defineConfig } from "drizzle-kit";
|
|
export default defineConfig({
|
|
schema: "./src/db/schema/index.ts",
|
|
out: "./drizzle/migrations",
|
|
dialect: "postgresql",
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL ?? "postgresql://beacon:beacon@localhost:5432/beacon",
|
|
},
|
|
strict: true,
|
|
verbose: true,
|
|
});
|