salix/services/db/03-changes.sh

7 lines
103 B
Bash

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