Skip to content

Instantly share code, notes, and snippets.

@JusteLeblanc
Created April 12, 2018 10:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JusteLeblanc/d9feb5b2ccbae72b8f38dc4519c23e16 to your computer and use it in GitHub Desktop.
Save JusteLeblanc/d9feb5b2ccbae72b8f38dc4519c23e16 to your computer and use it in GitHub Desktop.
db/test/drop:
symfony/bin/console doctrine:database:drop --env=test --force --if-exists
db/test/create:
symfony/bin/console doctrine:database:create --env=test --if-not-exists
db/test/migrate:
symfony/bin/console doctrine:migration:migrate --env=test --no-interaction
db/test/fixture:
symfony/bin/console hautelook_alice:doctrine:fixtures:load --env=test --no-interaction
db/test/reset:
make db/test/drop && make db/test/create && make db/test/migrate && make db/test/fixture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment