forked from benadida/helios-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ignoring a few extra files and adding manual info for migrating to He…
…lios 3.5: changed table names and update in the packages causes trouble for automatic upgrades.
- Loading branch information
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ deploy-latest.sh | |
.DS_Store | ||
*~ | ||
media/* | ||
venv | ||
venv | ||
celerybeat-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |