salix/services/db/03-changes.sh

7 lines
110 B
Bash

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