Skip to content

Commit

Permalink
drop db
Browse files Browse the repository at this point in the history
  • Loading branch information
micszo committed Oct 17, 2024
1 parent 1d03d01 commit 1033fe3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/4.6.x-dev/prepare_project_edition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ echo '> Install data'
if [[ "$COMPOSE_FILE" == *"elastic.yml"* ]]; then
docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console ibexa:elasticsearch:put-index-template"
fi
docker compose --env-file=.env exec -T --user www-data app sh -c "php /scripts/wait_for_db.php; php bin/console ibexa:install --skip-indexing"
docker compose --env-file=.env exec -T --user www-data app sh -c "php /scripts/wait_for_db.php"
docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console doctrine:database:drop --force"
docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console ibexa:install --skip-indexing"
docker compose --env-file=.env exec -T --user www-data app sh -c "php bin/console ibexa:reindex"

echo '> Generate GraphQL schema'
Expand Down

0 comments on commit 1033fe3

Please sign in to comment.