Welcome to mirror list, hosted at ThFree Co, Russian Federation.

knexfile.ts - github.com/thedevs-network/kutt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7e8a05f2fe564431df8c3b727939abffe1f59d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"
    }
  }
};