{"action":"created","issue":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/3000","repository_url":"https://api.github.com/repos/torchbox/wagtail","labels_url":"https://api.github.com/repos/torchbox/wagtail/issues/3000/labels{/name}","comments_url":"https://api.github.com/repos/torchbox/wagtail/issues/3000/comments","events_url":"https://api.github.com/repos/torchbox/wagtail/issues/3000/events","html_url":"https://github.com/torchbox/wagtail/issues/3000","id":177113254,"number":3000,"title":"Conflicting migrations: 0030_auto_20160810_1340, 0029_unicode_slugfield_dj19 in wagtailcore","user":{"login":"dborisog","id":4368019,"avatar_url":"https://avatars.githubusercontent.com/u/4368019?v=3","gravatar_id":"","url":"https://api.github.com/users/dborisog","html_url":"https://github.com/dborisog","followers_url":"https://api.github.com/users/dborisog/followers","following_url":"https://api.github.com/users/dborisog/following{/other_user}","gists_url":"https://api.github.com/users/dborisog/gists{/gist_id}","starred_url":"https://api.github.com/users/dborisog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dborisog/subscriptions","organizations_url":"https://api.github.com/users/dborisog/orgs","repos_url":"https://api.github.com/users/dborisog/repos","events_url":"https://api.github.com/users/dborisog/events{/privacy}","received_events_url":"https://api.github.com/users/dborisog/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-15T07:59:08Z","updated_at":"2016-09-16T18:47:51Z","closed_at":"2016-09-15T08:37:31Z","body":"### Issue Summary\r\n\r\nConflicting migrations: 0030_auto_20160810_1340, 0029_unicode_slugfield_dj19 in wagtailcore\r\n\r\n### Steps to Reproduce\r\n\r\nFor some time I've been prototyping a web-site, started with Wagtail 1.5.3 working with SQLite.\r\n\r\nYesterday I shifted to Wagtail 1.6.2, my site was running OK.\r\n\r\nToday I decided to move from SQLite to PostgreSQL, I haven't been interested in any data from SQLite nor in migratations for this DB, so I've cleaned all 'migrations' folders; created and setup PostgreSQL db;  manage.py check was OK.\r\n\r\nI was able to migrate my model afterwards I had the named migrations deleted from wagtailcore\\migrations.\r\n\r\nHowever,\r\n> python manage.py migrate\r\n> CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0030_auto_20160810_1340, 0029_unicode_slugfield_dj19 in wagtailcore). To fix them run 'python manage.py makemigrations --merge'\r\n\r\n> python manage.py makemigrations --merge\r\n> Merging wagtailcore\r\n>   Branch 0030_auto_20160810_1340\r\n>     - Alter field owner on page\r\n>     - Alter field owner on page\r\n>   Branch 0029_unicode_slugfield_dj19\r\n>     - Alter field slug on page\r\n> \r\n> Merging will only work if the operations printed above do not conflict\r\n> with each other (working on different fields or models)\r\n> Do you want to merge these migration branches? [y/N] n\r\n\r\n\r\n### Technical details\r\n\r\n* Python version: Python 3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 20:20:57) [MSC v.1600 64 bit (AMD64)] on win32\r\n* Django version: 1.10.1\r\n* Wagtail version: 1.6.2\r\n* Browser version: irrelevant\r\n\r\nThe following packages installed in my virtualenvironment.\r\n> pip freeze\r\n> beautifulsoup4==4.5.1\r\n> Django==1.10.1\r\n> django-appconf==1.0.2\r\n> django-compressor==2.0\r\n> django-debug-toolbar==1.5\r\n> django-el-pagination==2.1.1\r\n> django-modelcluster==2.0\r\n> django-taggit==0.18.3\r\n> django-treebeard==4.0.1\r\n> djangorestframework==3.4.6\r\n> html5lib==0.999999\r\n> Pillow==3.3.1\r\n> psycopg2==2.6.2\r\n> puput==0.6\r\n> pytz==2016.6.1\r\n> rcssmin==1.0.6\r\n> requests==2.10.0\r\n> rjsmin==1.0.12\r\n> six==1.10.0\r\n> sqlparse==0.2.0\r\n> tapioca-disqus==0.1.2\r\n> tapioca-wrapper==0.5.3\r\n> Unidecode==0.4.19\r\n> wagtail==1.6.2\r\n> Willow==0.3.1\r\n"},"comment":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/comments/247677865","html_url":"https://github.com/torchbox/wagtail/issues/3000#issuecomment-247677865","issue_url":"https://api.github.com/repos/torchbox/wagtail/issues/3000","id":247677865,"user":{"login":"gasman","id":85097,"avatar_url":"https://avatars.githubusercontent.com/u/85097?v=3","gravatar_id":"","url":"https://api.github.com/users/gasman","html_url":"https://github.com/gasman","followers_url":"https://api.github.com/users/gasman/followers","following_url":"https://api.github.com/users/gasman/following{/other_user}","gists_url":"https://api.github.com/users/gasman/gists{/gist_id}","starred_url":"https://api.github.com/users/gasman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gasman/subscriptions","organizations_url":"https://api.github.com/users/gasman/orgs","repos_url":"https://api.github.com/users/gasman/repos","events_url":"https://api.github.com/users/gasman/events{/privacy}","received_events_url":"https://api.github.com/users/gasman/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T18:47:51Z","updated_at":"2016-09-16T18:47:51Z","body":"Thanks, that's useful to know! It looks like wagtail-modeltranslation is doing some kind of redefinition of the Page.slug field, and hasn't yet been updated to match the Wagtail 1.6 definition (with the allow_unicode=True parameter)."}}
{"actor":{"display_login":"gasman"}}