Update update-all with phinx migrations

remotes/origin/master
Guillaume Lesniak 2016-06-02 12:16:03 +02:00
parent e009f03b43
commit 4acfcb4cd1
2 changed files with 14 additions and 1 deletions

View File

@ -32,4 +32,13 @@ return array(
),
),
),
'languages' => [
1 => 'Français',
2 => 'English',
3 => 'Deutsch'
],
'defaultLanguageIndex' => 1
);

View File

@ -11,12 +11,16 @@ pull_if_exists() {
git pull
php composer.phar update
php composer.phar update -o
pull_if_exists module/MonarcCore
pull_if_exists module/MonarcBO
pull_if_exists node_modules/ng_backoffice
php ./vendor/robmorgan/phinx/bin/phinx migrate -c ./module/MonarcCore/migrations/phinx.php
php ./vendor/robmorgan/phinx/bin/phinx migrate -c ./module/MonarcBO/migrations/phinx.php
if [ -d node_modules/ng_backoffice ]; then
cd node_modules/ng_backoffice
npm install