PAN-6 Updated the sql script and created a gradle task to reload the database
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user