PAN-6 Updated the sql script and created a gradle task to reload the database

This commit is contained in:
2019-02-10 11:59:33 -07:00
parent 89af852ec8
commit e28bf8cda4
3 changed files with 25 additions and 0 deletions
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
export MYSQL_PWD=secret
for sqlScript in $( find ../../ -name "*.sql" -print | sort);
do
echo "**** $sqlScript ****"
mysql --batch --quick --raw --line-numbers --force --user=panda < $sqlScript
done