Keep SQL comments on docker dump
This commit is contained in:
parent
bd069a1f39
commit
a990a950a1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue