Skip to content

Commit 4c37eef

Browse files
author
Matija Petrunic
committedJul 2, 2020
Update README
1 parent 5f3d430 commit 4c37eef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ Following software is required to be installed to use this repo:
2323
- `yarn install` - will run and configure everything for you
2424

2525
#### Database
26-
- use `yarn db:migration:new -n <class name>` to generate new migration file (same goes for entity and subscriber)
26+
- use `yarn db:migration:new <class name>` to generate new empty migration file (same goes for entity and subscriber)
27+
- use `docker-compose exec backend yarn db:migration:generate <class name>` to generate new auto generated migration
2728
- `yarn db:migrate` - runs all pending migrations against database
2829
- `yarn db:revert` - reverts last migration, run multiple times to revert everything
2930
- `yarn db:seed` - seeds database with fake data (`src/services/db/seeders`)

0 commit comments

Comments
 (0)
Please sign in to comment.