infinito/administration/recreate-database.sh
2019-01-05 17:14:06 +01:00

5 lines
220 B
Bash

#!/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