Prevent container shutdown forcing SQL import
This commit is contained in:
parent
52b3567b47
commit
b14154b4e2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue