{"action":"created","issue":{"url":"https://api.github.com/repos/etianen/django-reversion/issues/559","repository_url":"https://api.github.com/repos/etianen/django-reversion","labels_url":"https://api.github.com/repos/etianen/django-reversion/issues/559/labels{/name}","comments_url":"https://api.github.com/repos/etianen/django-reversion/issues/559/comments","events_url":"https://api.github.com/repos/etianen/django-reversion/issues/559/events","html_url":"https://github.com/etianen/django-reversion/issues/559","id":166683396,"number":559,"title":"squashed migration broke django-reversion upgrade.","user":{"login":"xuchen81","id":4729037,"avatar_url":"https://avatars.githubusercontent.com/u/4729037?v=3","gravatar_id":"","url":"https://api.github.com/users/xuchen81","html_url":"https://github.com/xuchen81","followers_url":"https://api.github.com/users/xuchen81/followers","following_url":"https://api.github.com/users/xuchen81/following{/other_user}","gists_url":"https://api.github.com/users/xuchen81/gists{/gist_id}","starred_url":"https://api.github.com/users/xuchen81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuchen81/subscriptions","organizations_url":"https://api.github.com/users/xuchen81/orgs","repos_url":"https://api.github.com/users/xuchen81/repos","events_url":"https://api.github.com/users/xuchen81/events{/privacy}","received_events_url":"https://api.github.com/users/xuchen81/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/etianen/django-reversion/labels/needsmoreinfo","name":"needsmoreinfo","color":"fef2c0"},{"url":"https://api.github.com/repos/etianen/django-reversion/labels/worksforme","name":"worksforme","color":"1d76db"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-07-20T21:12:46Z","updated_at":"2016-08-22T09:52:03Z","closed_at":null,"body":"Issue:\r\nDjango version: 1.9.7\r\ndjango-reversion version: 2.0.5\r\nI was using django-reversion 1.8.0, and there is no \"db\" columns in reversion_version table.\r\nNow I am upgrading to version 2.0.5, it adds the column \"db\" in migration 3, but since there is also a squashed migration file there, when I run python manage.py migrate --fake-initial, it will fake the squashed migration and ignore all the other migrations in the folder, and the migration 2,3,4 will never be ran, so \"db\" column will not be added to the existing reversion_version table.\r\n\r\nSuggested solution:\r\nRemove squashed migration.\r\n\r\n\r\nThanks.\r\n"},"comment":{"url":"https://api.github.com/repos/etianen/django-reversion/issues/comments/241365288","html_url":"https://github.com/etianen/django-reversion/issues/559#issuecomment-241365288","issue_url":"https://api.github.com/repos/etianen/django-reversion/issues/559","id":241365288,"user":{"login":"etianen","id":148744,"avatar_url":"https://avatars.githubusercontent.com/u/148744?v=3","gravatar_id":"","url":"https://api.github.com/users/etianen","html_url":"https://github.com/etianen","followers_url":"https://api.github.com/users/etianen/followers","following_url":"https://api.github.com/users/etianen/following{/other_user}","gists_url":"https://api.github.com/users/etianen/gists{/gist_id}","starred_url":"https://api.github.com/users/etianen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etianen/subscriptions","organizations_url":"https://api.github.com/users/etianen/orgs","repos_url":"https://api.github.com/users/etianen/repos","events_url":"https://api.github.com/users/etianen/events{/privacy}","received_events_url":"https://api.github.com/users/etianen/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T09:52:03Z","updated_at":"2016-08-22T09:52:03Z","body":"Surely then this is a bug in the django migration framework. There's nothing going on in the django-reversion migations that is an abuse of the migration framework."}}
{"actor":{"display_login":"etianen"}}