From 6cb44645ae16aef4244b97f2375b5523bd3125ed Mon Sep 17 00:00:00 2001 From: ppaulis Date: Thu, 6 Oct 2016 16:42:09 +0200 Subject: [PATCH] working on setup --- scripts/upgrade-db.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/scripts/upgrade-db.sh b/scripts/upgrade-db.sh index 90edf87..69943a1 100755 --- a/scripts/upgrade-db.sh +++ b/scripts/upgrade-db.sh @@ -1,11 +1,4 @@ #!/bin/bash -php ./vendor/robmorgan/phinx/bin/phinx migrate -c ./module/MonarcCore/migrations/phinx.php - -if [ -d module/MonarcBO ]; then - php ./vendor/robmorgan/phinx/bin/phinx migrate -c ./module/MonarcBO/migrations/phinx.php -fi - -if [ -d module/MonarcFO ]; then - php ./vendor/robmorgan/phinx/bin/phinx migrate -c ./module/MonarcFO/migrations/phinx.php -fi +php ./vendor/robmorgan/phinx/bin/phinx migrate -c ./vendor/monarc/core/migrations/phinx.php +php ./vendor/robmorgan/phinx/bin/phinx migrate -c ./vendor/monarc/backoffice/migrations/phinx.php \ No newline at end of file