Commit 83b26899 authored by David Haynes's avatar David Haynes
Browse files

Remove the /migrations every provision

- the DB gets confused if you want to change models but the old migrations are still there
- getting problems solved by nuking everything -- the :dhaynes: way!
- now in master
parent 3e26a05f
...@@ -59,6 +59,9 @@ ...@@ -59,6 +59,9 @@
src=templates/secret.py.j2 src=templates/secret.py.j2
dest={{ django['settings_path'] }}/secret.py dest={{ django['settings_path'] }}/secret.py
- name: refresh migrations
file: path=/vagrant/go/go/migrations state=absent
- name: setup django database - name: setup django database
django_manage: > django_manage: >
command={{ item }} command={{ item }}
......
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