mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
c638a89314
commit
f89ba3fb6d
1 changed files with 0 additions and 6 deletions
|
@ -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..."
|
||||
|
|
Loading…
Add table
Reference in a new issue