From 157bd19e20b66fb0c89970914cf321477ce040c2 Mon Sep 17 00:00:00 2001 From: Jesse Zoldak Date: Tue, 12 Jan 2016 10:53:37 -0500 Subject: [PATCH] Clear out the bok choy DB with reset_db, not flush --- scripts/reset-test-db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/reset-test-db.sh b/scripts/reset-test-db.sh index 181fa4635d..575c578c94 100755 --- a/scripts/reset-test-db.sh +++ b/scripts/reset-test-db.sh @@ -28,7 +28,7 @@ DB_CACHE_DIR="common/test/db_cache" echo "CREATE DATABASE IF NOT EXISTS edxtest;" | mysql -u root # Clear out the test database -./manage.py lms --settings bok_choy flush --traceback --noinput +./manage.py lms --settings bok_choy reset_db --traceback --noinput # If there are cached database schemas/data, load them if [[ -f $DB_CACHE_DIR/bok_choy_schema.sql && -f $DB_CACHE_DIR/bok_choy_migrations_data.sql && -f $DB_CACHE_DIR/bok_choy_data.json ]]; then