Some checks failed
Lint / lint (push) Failing after 4m58s
Standardized formatting across database schema files and updated documentation structure to improve clarity and organization.
20 lines
574 B
TypeScript
20 lines
574 B
TypeScript
import * as process from "node:process";
|
|
import { defineConfig } from "drizzle-kit";
|
|
|
|
export default defineConfig({
|
|
schema: "./src/database/schemas/index.ts",
|
|
out: ".migrations",
|
|
dialect: "postgresql",
|
|
casing: "snake_case",
|
|
dbCredentials: {
|
|
host: String(process.env.POSTGRES_HOST || "localhost"),
|
|
port: Number(process.env.POSTGRES_PORT || 5432),
|
|
database: String(process.env.POSTGRES_DB || "app"),
|
|
user: String(process.env.POSTGRES_USER || "app"),
|
|
password: String(process.env.POSTGRES_PASSWORD || "app"),
|
|
ssl: false,
|
|
},
|
|
verbose: true,
|
|
strict: true,
|
|
});
|