Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miguelitodev/sql-nodejs
It is a project to study NodeJS technology together with SQL, which would be a relational database, where PostgresSQL was used in the project in question.
https://github.com/miguelitodev/sql-nodejs
javascript js node nodejs postg sequelize
Last synced: about 1 month ago
JSON representation
It is a project to study NodeJS technology together with SQL, which would be a relational database, where PostgresSQL was used in the project in question.
- Host: GitHub
- URL: https://github.com/miguelitodev/sql-nodejs
- Owner: miguelitodev
- Created: 2020-12-22T20:57:45.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-22T21:03:46.000Z (about 4 years ago)
- Last Synced: 2023-10-31T23:27:34.460Z (about 1 year ago)
- Topics: javascript, js, node, nodejs, postg, sequelize
- Language: JavaScript
- Homepage: https://youtu.be/Fbu7z5dXcRs
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notes about Sequelize
### Quero criar um banco
```
$ yarn sequelize db:create
```### Quero criar uma migration
```
$ yarn sequelize migration:create --name=migration_name
```### Quero enviar as alterações nas migrations
```
$ yarn sequelize db:migrate
```### Quero remover a última migration para att algo (PRODUÇÃO)
Caso esteja em produção, para att algo, tem que criar outra migration
```
$ yarn sequelize db:migrate:undo
```