mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
24 lines
646 B
TypeScript
24 lines
646 B
TypeScript
import type { Config } from "drizzle-kit";
|
|
|
|
export default {
|
|
dialect: "postgresql",
|
|
out: "./drizzle/migrations",
|
|
schema: "./drizzle/schema.ts",
|
|
dbCredentials: {
|
|
host: "localhost",
|
|
port: 40000,
|
|
user: "lysand",
|
|
password: "lysand",
|
|
database: "lysand",
|
|
/* host: config.database.host,
|
|
port: Number(config.database.port),
|
|
user: config.database.username,
|
|
password: config.database.password,
|
|
database: config.database.database, */
|
|
},
|
|
// Print all statements
|
|
verbose: true,
|
|
// Always ask for confirmation
|
|
strict: true,
|
|
} satisfies Config;
|