Swap flush/migrate in fabric clone script
This commit is contained in:
parent
c4cd51bc8e
commit
853608a431
1 changed files with 1 additions and 1 deletions
2
scripts/fabfile.py
vendored
2
scripts/fabfile.py
vendored
|
|
@ -34,8 +34,8 @@ def clone_remote_db(dbtype='sqlite'):
|
|||
|
||||
# Recreate a fresh DB with downloaded data
|
||||
local("python ../manage.py syncdb --noinput")
|
||||
local("python ../manage.py migrate")
|
||||
local("python ../manage.py flush --noinput")
|
||||
local("python ../manage.py migrate")
|
||||
local("python ../manage.py loaddata epcstages.json")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue