knexfile.js 751 Bytes
// Update with your config settings.

module.exports = {

  development: {
    client: 'mssql',
    connection: {
      host: '10.231.45.211',
      user: 'sa',
      password: 'xxzza',
      database: 'UNITYOIL_28082017'
    }
  },

  staging: {
    client: 'postgresql',
    connection: {
      database: 'my_db',
      user:     'username',
      password: 'password'
    },
    pool: {
      min: 2,
      max: 10
    },
    migrations: {
      tableName: 'knex_migrations'
    }
  },

  production: {
    client: 'postgresql',
    connection: {
      database: 'my_db',
      user:     'username',
      password: 'password'
    },
    pool: {
      min: 2,
      max: 10
    },
    migrations: {
      tableName: 'knex_migrations'
    }
  }

};