Skip to content

Commit

Permalink
Add script to migrate database from 0.2.1 to 0.2.5
Browse files Browse the repository at this point in the history
This includes the initial migration after the
upgrade to Django 1.8.
And some tricky intermediate steps that move
models between apps.
  • Loading branch information
bartromgens committed May 7, 2015
1 parent c8a119a commit 00923d3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/migrate_initial_django18.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cd ..
git checkout v0.2.2
python manage.py migrate --fake-initial
git checkout v0.2.3
python manage.py migrate
git checkout v0.2.4
python manage.py migrate
git checkout v0.2.5
python manage.py migrate

0 comments on commit 00923d3

Please sign in to comment.