Skip to content
Snippets Groups Projects
Commit f89ba3fb authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Remove database recreation code from "support/schema/reloadtestdb.sh".


Database is being dropped and recreated in the schema, so there's no
need to do this in "reloadtestdb.sh" as well.

Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent c638a893
No related branches found
No related tags found
No related merge requests found
......@@ -6,13 +6,7 @@ if [ `basename $mydir` != "schema" ]; then
exit
fi
echo "dropping old database..."
yes | mysqladmin -uaur -paur drop AUR
echo "recreating database..."
mysqladmin -uaur -paur create AUR
echo "recreating tables..."
mysql -uaur -paur AUR < ./aur-schema.sql
echo "loading dummy-data..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment