Skip to content

Commit

Permalink
ignoring a few extra files and adding manual info for migrating to He…
Browse files Browse the repository at this point in the history
…lios 3.5: changed table names and update in the packages causes trouble for automatic upgrades.
  • Loading branch information
benadida committed Oct 27, 2013
1 parent d199fe0 commit c3838c4
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ deploy-latest.sh
.DS_Store
*~
media/*
venv
venv
celerybeat-*
6 changes: 6 additions & 0 deletions migrate-to-3.5.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
alter table auth_user rename to helios_auth_user;
drop table celery_taskmeta;
drop table celery_tasksetmeta;
drop table djkombu_message;
drop table djkombu_queue;
delete from south_migrationhistory where app_name='auth';
12 changes: 12 additions & 0 deletions migrate-to-3.5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

- direct DB changes

migrate-to-3.5.sql

- fake a migration

heroku run python manage.py migrate helios_auth --fake

- do the rest of the migrations

heroku run python manage.py migrate

0 comments on commit c3838c4

Please sign in to comment.