mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
10 lines
308 B
TypeScript
10 lines
308 B
TypeScript
// Proxies all `bunx prisma` commands with an environment variable
|
|
|
|
import { getConfig } from "@config";
|
|
|
|
const config = getConfig();
|
|
|
|
process.stdout.write(
|
|
`postgresql://${config.database.username}:${config.database.password}@${config.database.host}:${config.database.port}/${config.database.database}`
|
|
);
|