MonarcAppFO/scripts/seed-db.sh

15 lines
398 B
Bash
Raw Permalink Normal View History

2016-09-12 09:57:05 +02:00
#!/bin/bash
if [ -d module/MonarcCore ]; then
2016-09-16 09:30:20 +02:00
php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/MonarcCore/migrations/phinx.php
2016-09-12 09:57:05 +02:00
fi
if [ -d module/MonarcBO ]; then
2016-09-16 09:30:20 +02:00
php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/MonarcBO/migrations/phinx.php
2016-09-12 09:57:05 +02:00
fi
if [ -d module/MonarcFO ]; then
2016-09-16 09:30:20 +02:00
php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/MonarcFO/migrations/phinx.php
2016-09-12 09:57:05 +02:00
fi