fix phinx path

pull/1/head
Benjamin Ganivet 2016-09-16 09:30:20 +02:00
parent 03ef5caa8a
commit 0c01b23dbf
1 changed files with 3 additions and 3 deletions

View File

@ -1,14 +1,14 @@
#!/bin/bash
if [ -d module/MonarcCore ]; then
php ./vendor/bin/phinx seed:run -c ./module/MonarcCore/migrations/phinx.php
php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/MonarcCore/migrations/phinx.php
fi
if [ -d module/MonarcBO ]; then
php ./vendor/bin/phinx seed:run -c ./module/MonarcBO/migrations/phinx.php
php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/MonarcBO/migrations/phinx.php
fi
if [ -d module/MonarcFO ]; then
php ./vendor/bin/phinx seed:run -c ./module/MonarcFO/migrations/phinx.php
php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/MonarcFO/migrations/phinx.php
fi