Configure sequelize using config.js and sequelizerc

This commit is contained in:
2022-04-17 16:39:56 +02:00
parent 845005bcce
commit 0419733925
4 changed files with 37 additions and 6 deletions

View File

@@ -5,3 +5,11 @@
```bash
$ docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
```
### Sequelize migrations
If ran outside the container, DB_HOST must be set to localhost or the container's IP address.
```bash
$npx sequelize db:migrate
```