mirror of
https://github.com/fosrl/pangolin.git
synced 2025-10-30 14:17:30 +00:00
17 lines
357 B
TypeScript
17 lines
357 B
TypeScript
import { defineConfig } from "drizzle-kit";
|
|
import path from "path";
|
|
|
|
const schema = [
|
|
path.join("server", "db", "pg", "schema"),
|
|
];
|
|
|
|
export default defineConfig({
|
|
dialect: "postgresql",
|
|
schema: schema,
|
|
out: path.join("server", "migrations"),
|
|
verbose: true,
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL as string
|
|
}
|
|
});
|