Add missing previous_run_status column for MifosX, related to #268

This commit is contained in:
Disassembler 2018-08-02 21:10:21 +02:00
parent 50e4ef0330
commit 65aeb7aac4
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -33,6 +33,8 @@ until docker logs mifosx 2>&1 | grep -q 'Migrating schema `mifostenant-default`
sleep 1
done
service mifosx stop
# Fix missing previous_run_status column
echo 'ALTER TABLE `scheduled_email_campaign` ADD `previous_run_status` VARCHAR(10) NULL;' | docker exec -i mariadb mysql mifostenant-default
# Update admin account
export MIFOSX_ADMIN_USER=admin