We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f3d430 commit 4c37eefCopy full SHA for 4c37eef
README.md
@@ -23,7 +23,8 @@ Following software is required to be installed to use this repo:
23
- `yarn install` - will run and configure everything for you
24
25
#### Database
26
-- use `yarn db:migration:new -n <class name>` to generate new migration file (same goes for entity and subscriber)
+- 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
28
- `yarn db:migrate` - runs all pending migrations against database
29
- `yarn db:revert` - reverts last migration, run multiple times to revert everything
30
- `yarn db:seed` - seeds database with fake data (`src/services/db/seeders`)
0 commit comments