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:
parent
d199fe003b
commit
c3838c46f8
|
@ -3,4 +3,5 @@ deploy-latest.sh
|
|||
.DS_Store
|
||||
*~
|
||||
media/*
|
||||
venv
|
||||
venv
|
||||
celerybeat-*
|
|
@ -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';
|
|
@ -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
|
Loading…
Reference in New Issue