{"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"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-20T21:12:46Z","updated_at":"2016-07-21T19:17:07Z","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/234355185","html_url":"https://github.com/etianen/django-reversion/issues/559#issuecomment-234355185","issue_url":"https://api.github.com/repos/etianen/django-reversion/issues/559","id":234355185,"user":{"login":"alukach","id":897290,"avatar_url":"https://avatars.githubusercontent.com/u/897290?v=3","gravatar_id":"","url":"https://api.github.com/users/alukach","html_url":"https://github.com/alukach","followers_url":"https://api.github.com/users/alukach/followers","following_url":"https://api.github.com/users/alukach/following{/other_user}","gists_url":"https://api.github.com/users/alukach/gists{/gist_id}","starred_url":"https://api.github.com/users/alukach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alukach/subscriptions","organizations_url":"https://api.github.com/users/alukach/orgs","repos_url":"https://api.github.com/users/alukach/repos","events_url":"https://api.github.com/users/alukach/events{/privacy}","received_events_url":"https://api.github.com/users/alukach/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T19:17:07Z","updated_at":"2016-07-21T19:17:07Z","body":"@etianen We are not faking migrations.  Will see if I can reproduce the issue.  My suggestion about breaking out the `RunPython` code into a separate migration did not work, not sure why..."}}
{"actor":{"display_login":"alukach"}}