Last active
June 29, 2020 14:34
-
-
Save nicordev/791e1c30ae45afa5857a44b18fe5d98d to your computer and use it in GitHub Desktop.
Symfony: doctrine commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
php bin/console doctrine:database:drop --if-exists --force && \ | |
php bin/console doctrine:database:drop --env=test --if-exists --force && \ | |
php bin/console doctrine:database:create && \ | |
php bin/console doctrine:migrations:migrate --no-interaction && \ | |
php bin/console hautelook:fixtures:load --quiet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment