Commit 3d204a87 by Brian Beggs

updated paver command to fake migrations when the DB exists

parent 0954bd09
......@@ -126,8 +126,8 @@ class AcceptanceTestSuite(TestSuite):
sh("cp {db_cache} {db}".format(db_cache=self.db_cache, db=self.db))
# Run migrations to update the db, starting from its cached state
sh("./manage.py lms --settings acceptance migrate --traceback --noinput")
sh("./manage.py cms --settings acceptance migrate --traceback --noinput")
sh("./manage.py lms --settings acceptance migrate --traceback --noinput --fake-initial")
sh("./manage.py cms --settings acceptance migrate --traceback --noinput --fake-initial")
else:
# If no cached database exists, syncdb before migrating, then create the cache
sh("./manage.py lms --settings acceptance migrate --traceback --noinput")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment