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

This commit is contained in:
Dark-Alex-17 committed 2019-02-10 11:59:33 -07:00
1 parent 89af852ec8
commit e28bf8cda4
3 files changed
+25

No files matched your search

@@ -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