daily pastebin goal
70%
SHARE
TWEET

Untitled

a guest Apr 23rd, 2018 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const path = require("path");
  2.  
  3. module.exports = {
  4.   "config": path.resolve("./db/config", "config.json"),
  5.   "models-path": path.resolve("./db/models"),
  6.   "seeders-path": path.resolve("./db/seeds"),
  7.   "migrations-path": path.resolve("./db/migrations")
  8. };
  9.    
  10. {
  11.   "development": {
  12.     "username": "postgres",
  13.     "password": null,
  14.     "database": "address-bloc-dev",
  15.     "host": "127.0.0.1",
  16.     "dialect": "postgres",
  17.     "logging": false
  18.   },
  19.   "test": {
  20.     "username": "postgres",
  21.     "password": null,
  22.     "database": "address-bloc-test",
  23.     "host": "127.0.0.1",
  24.     "dialect": "postgres",
  25.     "logging": false
  26.   }
  27. }
  28.    
  29. $ sequelize db:migrate
  30.  
  31. Sequelize CLI [Node: 6.11.4, CLI: 4.0.0, ORM: 4.32.6]
  32.  
  33. Loaded configuration file "db/config/config.json".
  34. Using environment "development".
  35. sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators node_modules/sequelize/lib/sequelize.js:237:13
  36.  
  37. ERROR: password authentication failed for user "postgres"
RAW Paste Data
Top