diff --git a/administration/recreate-database.sh b/administration/recreate-database.sh new file mode 100644 index 0000000..82dd44d --- /dev/null +++ b/administration/recreate-database.sh @@ -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