From b14154b4e2104e5dab488d688a212873224cf5ef Mon Sep 17 00:00:00 2001 From: Joan Date: Thu, 10 May 2018 14:07:25 +0200 Subject: [PATCH] Prevent container shutdown forcing SQL import --- services/db/install/boot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/db/install/boot.sh b/services/db/install/boot.sh index c540286b24..9358ea93f0 100644 --- a/services/db/install/boot.sh +++ b/services/db/install/boot.sh @@ -8,13 +8,13 @@ else # Dump structure for file in dump/*-*.sql; do echo "Imported $file" - mysql -u root -proot < $file + mysql -u root -proot -f < $file done # Import changes for file in changes/*/*.sql; do - echo "Imported $file" - mysql -u root -proot < $file + echo "Imported $file" + mysql -u root -proot -f < $file done # Import fixtures