scripts: Add DB seed script
parent
ed5f1748d8
commit
df26e54c3b
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -d module/MonarcCore ]; then
|
||||
php ./vendor/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
|
||||
fi
|
||||
|
||||
if [ -d module/MonarcFO ]; then
|
||||
php ./vendor/bin/phinx seed:run -c ./module/MonarcFO/migrations/phinx.php
|
||||
fi
|
||||
|
Loading…
Reference in New Issue