npm install
- Se for em ambiente local:
npm install --dev
cp .env_example .env
npm run start:dev
sequelize migration:generate --name criar_tabela_alunos
npx sequelize-cli migration:generate --name criar_tabela_alunos
- Opção nº 1:
sequelize db:migrate
- Opção nº 2:
npx sequelize db:migrate
sequelize-cli db:migrate:undo
npx sequelize-cli db:migrate:undo
https://sequelize.org/docs/v6/core-concepts/model-basics/
npm install sequelize
npm install pg
npm install -g sequelize-cli
npm install dotenv