diff --git a/wagtail/project_template/vagrant/provision.sh b/wagtail/project_template/vagrant/provision.sh index 03d28a89b5..16842fa687 100755 --- a/wagtail/project_template/vagrant/provision.sh +++ b/wagtail/project_template/vagrant/provision.sh @@ -22,8 +22,7 @@ chmod a+x $PROJECT_DIR/manage.py # Run syncdb/migrate/update_index -su - vagrant -c "$PYTHON $PROJECT_DIR/manage.py syncdb --noinput && \ - $PYTHON $PROJECT_DIR/manage.py migrate --noinput && \ +su - vagrant -c "$PYTHON $PROJECT_DIR/manage.py migrate --noinput && \ $PYTHON $PROJECT_DIR/manage.py update_index"