Created
April 4, 2015 13:46
-
-
Save Raphy/fb96db795fd0a74297d9 to your computer and use it in GitHub Desktop.
Symfony Tool Script : Rebuild the database quickly
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 | |
app/console doctrine:database:drop --force | |
app/console doctrine:database:create | |
app/console doctrine:schema:update --force | |
app/console doctrine:fixtures:load -n # Remove this line if the bundle « doctrine/doctrine-fixtures-bundle » is not required by the project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment