Added script for recreating database

This commit is contained in:
Kevin Frantz committed 2019-01-05 17:14:06 +01:00
1 parent cb38429475
commit c0e3aec661
1 file changed
+4
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
cd "$(dirname "$(readlink -f "${0}")")/../docker-symfony/" || exit 1
docker-compose exec php php bin/console doctrine:database:drop --force &&
docker-compose exec php php bin/console doctrine:database:create