From a16738aa7961b02c4b7ec8303daf34239847ce9c Mon Sep 17 00:00:00 2001 From: Arthur de Moulins Date: Wed, 20 Nov 2024 16:47:34 +0100 Subject: [PATCH] add migrate to configurator --- configurator/bin/migrate.sh | 4 ++-- configurator/bin/setup.sh | 3 +-- databox/api/bin/migrate.sh | 4 ++-- expose/api/bin/migrate.sh | 4 ++-- notify/api/bin/migrate.sh | 4 ++-- uploader/api/bin/migrate.sh | 4 ++-- 6 files changed, 11 insertions(+), 12 deletions(-) diff --git a/configurator/bin/migrate.sh b/configurator/bin/migrate.sh index a966fafd0..93e318c5e 100755 --- a/configurator/bin/migrate.sh +++ b/configurator/bin/migrate.sh @@ -4,5 +4,5 @@ set -e BASEDIR=$(dirname $0) -$BASEDIR/console doctrine:migrations:sync-metadata-storage -echo y | $BASEDIR/console doctrine:migrations:migrate +"${BASEDIR}/console" doctrine:migrations:sync-metadata-storage +"${BASEDIR}/console" doctrine:migrations:migrate --no-interaction diff --git a/configurator/bin/setup.sh b/configurator/bin/setup.sh index dfe8fe5f6..3abe599c2 100755 --- a/configurator/bin/setup.sh +++ b/configurator/bin/setup.sh @@ -9,6 +9,5 @@ if [ ! -d "${BASEDIR}/../vendor" ]; then fi "${BASEDIR}/console" doctrine:database:create --if-not-exists -"${BASEDIR}/console" doctrine:schema:update -f "${BASEDIR}/console" doctrine:migrations:sync-metadata-storage -"${BASEDIR}/console" doctrine:migrations:version --add --all -n +"${BASEDIR}/console" doctrine:migrations:migrate --no-interaction diff --git a/databox/api/bin/migrate.sh b/databox/api/bin/migrate.sh index a966fafd0..93e318c5e 100755 --- a/databox/api/bin/migrate.sh +++ b/databox/api/bin/migrate.sh @@ -4,5 +4,5 @@ set -e BASEDIR=$(dirname $0) -$BASEDIR/console doctrine:migrations:sync-metadata-storage -echo y | $BASEDIR/console doctrine:migrations:migrate +"${BASEDIR}/console" doctrine:migrations:sync-metadata-storage +"${BASEDIR}/console" doctrine:migrations:migrate --no-interaction diff --git a/expose/api/bin/migrate.sh b/expose/api/bin/migrate.sh index a966fafd0..93e318c5e 100755 --- a/expose/api/bin/migrate.sh +++ b/expose/api/bin/migrate.sh @@ -4,5 +4,5 @@ set -e BASEDIR=$(dirname $0) -$BASEDIR/console doctrine:migrations:sync-metadata-storage -echo y | $BASEDIR/console doctrine:migrations:migrate +"${BASEDIR}/console" doctrine:migrations:sync-metadata-storage +"${BASEDIR}/console" doctrine:migrations:migrate --no-interaction diff --git a/notify/api/bin/migrate.sh b/notify/api/bin/migrate.sh index a966fafd0..93e318c5e 100755 --- a/notify/api/bin/migrate.sh +++ b/notify/api/bin/migrate.sh @@ -4,5 +4,5 @@ set -e BASEDIR=$(dirname $0) -$BASEDIR/console doctrine:migrations:sync-metadata-storage -echo y | $BASEDIR/console doctrine:migrations:migrate +"${BASEDIR}/console" doctrine:migrations:sync-metadata-storage +"${BASEDIR}/console" doctrine:migrations:migrate --no-interaction diff --git a/uploader/api/bin/migrate.sh b/uploader/api/bin/migrate.sh index a966fafd0..93e318c5e 100755 --- a/uploader/api/bin/migrate.sh +++ b/uploader/api/bin/migrate.sh @@ -4,5 +4,5 @@ set -e BASEDIR=$(dirname $0) -$BASEDIR/console doctrine:migrations:sync-metadata-storage -echo y | $BASEDIR/console doctrine:migrations:migrate +"${BASEDIR}/console" doctrine:migrations:sync-metadata-storage +"${BASEDIR}/console" doctrine:migrations:migrate --no-interaction