Prevent container shutdown forcing SQL import
This commit is contained in:
parent
52b3567b47
commit
b14154b4e2
|
@ -8,13 +8,13 @@ else
|
||||||
# Dump structure
|
# Dump structure
|
||||||
for file in dump/*-*.sql; do
|
for file in dump/*-*.sql; do
|
||||||
echo "Imported $file"
|
echo "Imported $file"
|
||||||
mysql -u root -proot < $file
|
mysql -u root -proot -f < $file
|
||||||
done
|
done
|
||||||
|
|
||||||
# Import changes
|
# Import changes
|
||||||
for file in changes/*/*.sql; do
|
for file in changes/*/*.sql; do
|
||||||
echo "Imported $file"
|
echo "Imported $file"
|
||||||
mysql -u root -proot < $file
|
mysql -u root -proot -f < $file
|
||||||
done
|
done
|
||||||
|
|
||||||
# Import fixtures
|
# Import fixtures
|
||||||
|
|
Loading…
Reference in New Issue