Keep SQL comments on docker dump

This commit is contained in:
Joan Sanchez 2018-05-11 11:34:05 +02:00
parent bd069a1f39
commit a990a950a1
1 changed files with 2 additions and 2 deletions

View File

@ -8,13 +8,13 @@ else
# Dump structure
for file in dump/*-*.sql; do
echo "Imported $file"
mysql -u root -proot -f < $file
mysql -u root -proot -fc < $file
done
# Import changes
for file in changes/*/*.sql; do
echo "Imported $file"
mysql -u root -proot -f < $file
mysql -u root -proot -fc < $file
done
# Import fixtures