scripts: Add separate script for DB upgrade
parent
f29fe178ca
commit
ed5f1748d8
|
@ -0,0 +1,11 @@
|
|||
#!/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
|
Loading…
Reference in New Issue