{"action":"created","issue":{"url":"https://api.github.com/repos/bernardopires/django-tenant-schemas/issues/244","labels_url":"https://api.github.com/repos/bernardopires/django-tenant-schemas/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/bernardopires/django-tenant-schemas/issues/244/comments","events_url":"https://api.github.com/repos/bernardopires/django-tenant-schemas/issues/244/events","html_url":"https://github.com/bernardopires/django-tenant-schemas/issues/244","id":59088724,"number":244,"title":"Cannot create users when Wagtail is installed","user":{"login":"RasmusKlett","id":1564265,"avatar_url":"https://avatars.githubusercontent.com/u/1564265?v=3","gravatar_id":"","url":"https://api.github.com/users/RasmusKlett","html_url":"https://github.com/RasmusKlett","followers_url":"https://api.github.com/users/RasmusKlett/followers","following_url":"https://api.github.com/users/RasmusKlett/following{/other_user}","gists_url":"https://api.github.com/users/RasmusKlett/gists{/gist_id}","starred_url":"https://api.github.com/users/RasmusKlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RasmusKlett/subscriptions","organizations_url":"https://api.github.com/users/RasmusKlett/orgs","repos_url":"https://api.github.com/users/RasmusKlett/repos","events_url":"https://api.github.com/users/RasmusKlett/events{/privacy}","received_events_url":"https://api.github.com/users/RasmusKlett/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-26T15:30:14Z","updated_at":"2015-07-31T16:51:59Z","closed_at":"2015-07-31T16:51:15Z","body":"I am trying to get Wagtail CMS to handle the public schema urls, with tenant-schemas taking care of some other apps. Tenant-schemas seems to be configured correctly, and Wagtail too, but when I add a non-public tenant, the migrations for Wagtail fail. \r\nSpecifically, wagtailcore.0002_initial_data.py fails. It is trying to insert an initial Page into the page table, and failing saying it is trying to insert a null value into a non-null column. It seems this colum is not created until the wagtailcore.0003 migration, so maybe it is trying to insert into the already-created public table for Wagtail? \r\nI am not sure I understand why it even needs to run the Wagtail migrations for the tenant, since Wagtail is in my shared apps, and so as I understand it should live in the public schema anyway."},"comment":{"url":"https://api.github.com/repos/bernardopires/django-tenant-schemas/issues/comments/126750414","html_url":"https://github.com/bernardopires/django-tenant-schemas/issues/244#issuecomment-126750414","issue_url":"https://api.github.com/repos/bernardopires/django-tenant-schemas/issues/244","id":126750414,"user":{"login":"bernardopires","id":1726375,"avatar_url":"https://avatars.githubusercontent.com/u/1726375?v=3","gravatar_id":"","url":"https://api.github.com/users/bernardopires","html_url":"https://github.com/bernardopires","followers_url":"https://api.github.com/users/bernardopires/followers","following_url":"https://api.github.com/users/bernardopires/following{/other_user}","gists_url":"https://api.github.com/users/bernardopires/gists{/gist_id}","starred_url":"https://api.github.com/users/bernardopires/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernardopires/subscriptions","organizations_url":"https://api.github.com/users/bernardopires/orgs","repos_url":"https://api.github.com/users/bernardopires/repos","events_url":"https://api.github.com/users/bernardopires/events{/privacy}","received_events_url":"https://api.github.com/users/bernardopires/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T16:51:59Z","updated_at":"2015-07-31T16:51:59Z","body":"Alright, I'll close this for now as it seems like not many other people are using Wagtail. If anyone has the time to troubleshoot this we can reopen and work on it."}}