Guest User

Untitled

a guest
Dec 12th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. ➜ bloccit git:(comments) sequelize db:drop bloccit-test
  2.  
  3. Sequelize CLI [Node: 8.12.0, CLI: 4.0.0, ORM: 4.32.6]
  4.  
  5. Loaded configuration file "src/db/config/config.json".
  6. Using environment "development".
  7. Database bloccit-dev dropped.
  8. ➜ bloccit git:(comments) sequelize db:drop bloccit-dev
  9.  
  10. Sequelize CLI [Node: 8.12.0, CLI: 4.0.0, ORM: 4.32.6]
  11.  
  12. Loaded configuration file "src/db/config/config.json".
  13. Using environment "development".
  14.  
  15. ERROR: database "bloccit-dev" does not exist
  16.  
  17. ➜ bloccit git:(comments) sequelize db:create bloccit-dev
  18.  
  19. Sequelize CLI [Node: 8.12.0, CLI: 4.0.0, ORM: 4.32.6]
  20.  
  21. Loaded configuration file "src/db/config/config.json".
  22. Using environment "development".
  23. Database bloccit-dev created.
  24. ➜ bloccit git:(comments) sequelize db:migrate
  25.  
  26. Sequelize CLI [Node: 8.12.0, CLI: 4.0.0, ORM: 4.32.6]
  27.  
  28. Loaded configuration file "src/db/config/config.json".
  29. Using environment "development".
  30. File: .DS_Store does not match pattern: /\.js$/
  31. File: .DS_Store does not match pattern: /\.js$/
  32. File: .DS_Store does not match pattern: /\.js$/
  33. File: .DS_Store does not match pattern: /\.js$/
  34. File: .DS_Store does not match pattern: /\.js$/
  35. File: .DS_Store does not match pattern: /\.js$/
  36. File: .DS_Store does not match pattern: /\.js$/
  37. File: .DS_Store does not match pattern: /\.js$/
  38. File: .DS_Store does not match pattern: /\.js$/
  39. == 20181113180339-create-topic: migrating =======
  40. == 20181113180339-create-topic: migrated (0.026s)
  41.  
  42. == 20181113180738-create-banner: migrating =======
  43. == 20181113180738-create-banner: migrated (0.020s)
  44.  
  45. == 20181127023347-create-post: migrating =======
  46. == 20181127023347-create-post: migrated (0.014s)
  47.  
  48. == 20181201182557-create-user: migrating =======
  49. == 20181201182557-create-user: migrated (0.018s)
  50.  
  51. == 20181201205534-add-user-to-posts: migrating =======
  52. == 20181201205534-add-user-to-posts: migrated (0.010s)
  53.  
  54. == 20181201223037-add-role-to-users: migrating =======
  55. == 20181201223037-add-role-to-users: migrated (0.015s)
  56.  
  57. == 20181207172427-create-comment: migrating =======
  58. == 20181207172427-create-comment: migrated (0.012s)
  59.  
  60. ➜ bloccit git:(comments) sequelize db:seed:all
  61.  
  62. Sequelize CLI [Node: 8.12.0, CLI: 4.0.0, ORM: 4.32.6]
  63.  
  64. Loaded configuration file "src/db/config/config.json".
  65. Using environment "development".
  66. == 20181119220656-topics: migrating =======
  67. == 20181119220656-topics: migrated (0.722s)
  68. ➜ bloccit git:(comments) heroku run sequelize db:migrate
  69. Running sequelize db:migrate on ⬢ kel7774-bloccit... up, run.2714 (Free)
  70.  
  71. Sequelize CLI [Node: 10.14.2, CLI: 5.3.0, ORM: 4.32.6]
  72.  
  73. Loaded configuration file "src/db/config/config.json".
  74. Using environment "production".
  75. == 20181201205534-add-user-to-posts: migrating =======
  76.  
  77. ERROR: column "userId" contains null values
Add Comment
Please, Sign In to add comment