Skip to content

Commit

Permalink
add migrate to configurator
Browse files Browse the repository at this point in the history
  • Loading branch information
4rthem committed Nov 20, 2024
1 parent 1c67e1d commit a16738a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions configurator/bin/migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions configurator/bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions databox/api/bin/migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions expose/api/bin/migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions notify/api/bin/migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions uploader/api/bin/migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a16738a

Please sign in to comment.