2020-02-15 16:56:06 +03:30
|
|
|
import env from "./server/env";
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
production: {
|
|
|
|
client: "postgresql",
|
|
|
|
connection: {
|
2020-02-22 16:05:06 +03:30
|
|
|
host: env.DB_HOST,
|
2020-02-15 16:56:06 +03:30
|
|
|
database: env.DB_NAME,
|
|
|
|
user: env.DB_USER,
|
2020-02-22 16:31:32 +03:30
|
|
|
port: env.DB_PORT,
|
2020-02-15 16:56:06 +03:30
|
|
|
password: env.DB_PASSWORD
|
|
|
|
},
|
|
|
|
migrations: {
|
|
|
|
tableName: "knex_migrations",
|
|
|
|
directory: "server/migrations"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|