From 02adea9bdd4c183195f045c7760ae9f522bd3e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szo=C5=82tysek?= Date: Thu, 17 Oct 2024 16:18:42 +0200 Subject: [PATCH] Revert "drop db" This reverts commit 1033fe307653fd2df4dc351014fbde4bce185656. --- bin/4.6.x-dev/prepare_project_edition.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/4.6.x-dev/prepare_project_edition.sh b/bin/4.6.x-dev/prepare_project_edition.sh index 75fd02f..dbf9225 100755 --- a/bin/4.6.x-dev/prepare_project_edition.sh +++ b/bin/4.6.x-dev/prepare_project_edition.sh @@ -181,9 +181,7 @@ 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" -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 /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 bin/console ibexa:reindex" echo '> Generate GraphQL schema'