From 65aeb7aac44b6b8ffa8253fc4f55835902acf6dd Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 2 Aug 2018 21:10:21 +0200 Subject: [PATCH] Add missing previous_run_status column for MifosX, related to #268 --- mifosx.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mifosx.sh b/mifosx.sh index aea9a87..cae39fb 100755 --- a/mifosx.sh +++ b/mifosx.sh @@ -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