salix/services/db/02-changes.sh

9 lines
131 B
Bash
Raw Normal View History

#!/bin/bash
myDir=$(dirname $0)
for file in $myDir/changes/*/*.sql; do
echo "Importing $file"
mysql -u root < $file
done