20 rivejä
383 B
TypeScript
20 rivejä
383 B
TypeScript
import env from "./server/env";
|
|
|
|
module.exports = {
|
|
production: {
|
|
client: "postgresql",
|
|
connection: {
|
|
host: env.DB_HOST,
|
|
database: env.DB_NAME,
|
|
user: env.DB_USER,
|
|
port: env.DB_PORT,
|
|
password: env.DB_PASSWORD,
|
|
ssl: env.DB_SSL,
|
|
},
|
|
migrations: {
|
|
tableName: "knex_migrations",
|
|
directory: "server/migrations"
|
|
}
|
|
}
|
|
};
|