Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npx sequelize db:create #3

Open
cassiusbessa opened this issue Jul 8, 2022 · 0 comments
Open

npx sequelize db:create #3

cassiusbessa opened this issue Jul 8, 2022 · 0 comments

Comments

@cassiusbessa
Copy link

Saudações!
Acho que seria interessante incluir o comando npx sequelize db:create para este CheatSheets, já que ao tentar fazer os comandos sem rodar o npx sequelize db:create, me deparei com o seguinte erro:
cassius@LAPTOP-SP1ROSQT:~/trybe/exercicios/orm$ npx sequelize db:migrate

Sequelize CLI [Node: 16.15.0, CLI: 6.4.1, ORM: 6.21.2]

Loaded configuration file "src/database/config/config.js".
Using environment "development".

ERROR: Unknown database 'librarydatabase'

Isto porque ainda não havia subido o banco de dados.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant