ignoring a few extra files and adding manual info for migrating to Helios 3.5: changed table names and update in the packages causes trouble for automatic upgrades.

This commit is contained in:
Ben Adida 2013-10-27 10:14:49 -07:00
parent d199fe003b
commit c3838c46f8
3 changed files with 20 additions and 1 deletions

3
.gitignore vendored
View File

@ -3,4 +3,5 @@ deploy-latest.sh
.DS_Store
*~
media/*
venv
venv
celerybeat-*

6
migrate-to-3.5.sql Normal file
View File

@ -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
migrate-to-3.5.txt Normal file
View File

@ -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