Skip to content

Commit

Permalink
Replacing doctrine commands with migrations
Browse files Browse the repository at this point in the history
The recommended way to update your database is to use migrations. This plugin uses migrations as well, so executing `doctrine:migrations:migrate` should be safer than just running `doctrine:schema:update --force`.
  • Loading branch information
mamazu authored Sep 24, 2021
1 parent 7192e73 commit 2c8892f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ bin/console sylius:fixtures:load

* Finally update the database and update the translations:
```bash
bin/console doctrine:schema:update --force
bin/console doctrine:migrations:migrate
bin/console translation:update
```

Expand Down

0 comments on commit 2c8892f

Please sign in to comment.