Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ bloccit git:(comments) sequelize db:drop bloccit-test
- Sequelize CLI [Node: 8.12.0, CLI: 4.0.0, ORM: 4.32.6]
- Loaded configuration file "src/db/config/config.json".
- Using environment "development".
- Database bloccit-dev dropped.
- ➜ bloccit git:(comments) sequelize db:drop bloccit-dev
- Sequelize CLI [Node: 8.12.0, CLI: 4.0.0, ORM: 4.32.6]
- Loaded configuration file "src/db/config/config.json".
- Using environment "development".
- ERROR: database "bloccit-dev" does not exist
- ➜ bloccit git:(comments) sequelize db:create bloccit-dev
- Sequelize CLI [Node: 8.12.0, CLI: 4.0.0, ORM: 4.32.6]
- Loaded configuration file "src/db/config/config.json".
- Using environment "development".
- Database bloccit-dev created.
- ➜ bloccit git:(comments) sequelize db:migrate
- Sequelize CLI [Node: 8.12.0, CLI: 4.0.0, ORM: 4.32.6]
- Loaded configuration file "src/db/config/config.json".
- Using environment "development".
- File: .DS_Store does not match pattern: /\.js$/
- File: .DS_Store does not match pattern: /\.js$/
- File: .DS_Store does not match pattern: /\.js$/
- File: .DS_Store does not match pattern: /\.js$/
- File: .DS_Store does not match pattern: /\.js$/
- File: .DS_Store does not match pattern: /\.js$/
- File: .DS_Store does not match pattern: /\.js$/
- File: .DS_Store does not match pattern: /\.js$/
- File: .DS_Store does not match pattern: /\.js$/
- == 20181113180339-create-topic: migrating =======
- == 20181113180339-create-topic: migrated (0.026s)
- == 20181113180738-create-banner: migrating =======
- == 20181113180738-create-banner: migrated (0.020s)
- == 20181127023347-create-post: migrating =======
- == 20181127023347-create-post: migrated (0.014s)
- == 20181201182557-create-user: migrating =======
- == 20181201182557-create-user: migrated (0.018s)
- == 20181201205534-add-user-to-posts: migrating =======
- == 20181201205534-add-user-to-posts: migrated (0.010s)
- == 20181201223037-add-role-to-users: migrating =======
- == 20181201223037-add-role-to-users: migrated (0.015s)
- == 20181207172427-create-comment: migrating =======
- == 20181207172427-create-comment: migrated (0.012s)
- ➜ bloccit git:(comments) sequelize db:seed:all
- Sequelize CLI [Node: 8.12.0, CLI: 4.0.0, ORM: 4.32.6]
- Loaded configuration file "src/db/config/config.json".
- Using environment "development".
- == 20181119220656-topics: migrating =======
- == 20181119220656-topics: migrated (0.722s)
- ➜ bloccit git:(comments) heroku run sequelize db:migrate
- Running sequelize db:migrate on ⬢ kel7774-bloccit... up, run.2714 (Free)
- Sequelize CLI [Node: 10.14.2, CLI: 5.3.0, ORM: 4.32.6]
- Loaded configuration file "src/db/config/config.json".
- Using environment "production".
- == 20181201205534-add-user-to-posts: migrating =======
- ERROR: column "userId" contains null values
Add Comment
Please, Sign In to add comment