MonarcAppFO/scripts/seed-db.sh

15 lines
438 B
Bash
Raw Normal View History

2016-09-12 09:57:05 +02:00
#!/bin/bash
if [ -d module/Monarc/Core ]; then
php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/Monarc/Core/migrations/phinx.php
2016-09-12 09:57:05 +02:00
fi
if [ -d module/Monarc/BackOffice ]; then
php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/Monarc/BackOffice/migrations/phinx.php
2016-09-12 09:57:05 +02:00
fi
if [ -d module/Monarc/FrontOffice ]; then
php ./vendor/robmorgan/phinx/bin/phinx seed:run -c ./module/Monarc/FrontOffice/migrations/phinx.php
2016-09-12 09:57:05 +02:00
fi