Advertisement
Guest User

Untitled

a guest
Jun 6th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module.exports = {
  2.     development: {
  3.         client: 'oracledb',
  4.         connection: {
  5.             user: "apps_real",
  6.             password: "apps_real",
  7.             connectString: "(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.105.150.176)(PORT = 1521))(CONNECT_DATA =(SID= DEV)))"
  8.         },
  9.         pool: { min: 0, max: 70 },
  10.         migrations: {
  11.             directory: __dirname + '/db/migrations',
  12.         },
  13.         seeds: {
  14.             directory: __dirname + '/db/seeds',
  15.         },
  16.     },
  17.     production: {
  18.         client: 'oracledb',
  19.         user: process.env.USER,
  20.         password: process.env.PASSWORD,
  21.         connection: process.env.DATABASE_URL,
  22.         pool: { min: 0, max: 70 },
  23.         migrations: {
  24.             directory: __dirname + '/db/migrations',
  25.         },
  26.         seeds: {
  27.             directory: __dirname + '/db/seeds',
  28.         },
  29.     }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement