infinito/administration/recreate-database.sh

5 lines
220 B
Bash
Raw Normal View History

2019-01-05 17:14:06 +01:00
#!/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