{"action":"created","issue":{"url":"https://api.github.com/repos/hovel/pybbm/issues/188","labels_url":"https://api.github.com/repos/hovel/pybbm/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/hovel/pybbm/issues/188/comments","events_url":"https://api.github.com/repos/hovel/pybbm/issues/188/events","html_url":"https://github.com/hovel/pybbm/issues/188","id":94338784,"number":188,"title":"Migration 002_slug fails on postgres","user":{"login":"marcuspp","id":8222658,"avatar_url":"https://avatars.githubusercontent.com/u/8222658?v=3","gravatar_id":"","url":"https://api.github.com/users/marcuspp","html_url":"https://github.com/marcuspp","followers_url":"https://api.github.com/users/marcuspp/followers","following_url":"https://api.github.com/users/marcuspp/following{/other_user}","gists_url":"https://api.github.com/users/marcuspp/gists{/gist_id}","starred_url":"https://api.github.com/users/marcuspp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcuspp/subscriptions","organizations_url":"https://api.github.com/users/marcuspp/orgs","repos_url":"https://api.github.com/users/marcuspp/repos","events_url":"https://api.github.com/users/marcuspp/events{/privacy}","received_events_url":"https://api.github.com/users/marcuspp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-10T16:16:59Z","updated_at":"2015-07-10T17:31:47Z","closed_at":null,"body":"On the latest version 0.17.0 and on Django 1.8  using postgres I get the following error trying to run the django migrations. On migration 002_slug.\r\n```\r\ndjango.db.utils.OperationalError: cannot ALTER TABLE \"pybb_forum\" because it has pending trigger events\r\n```\r\n\r\nI think this is to do with the migration trying to update the schema and update data in the same transaction block., which postgres does not allow.\r\n\r\nPlease investigate and fix.\r\n\r\nThanks.\r\n"},"comment":{"url":"https://api.github.com/repos/hovel/pybbm/issues/comments/120468080","html_url":"https://github.com/hovel/pybbm/issues/188#issuecomment-120468080","issue_url":"https://api.github.com/repos/hovel/pybbm/issues/188","id":120468080,"user":{"login":"GeyseR","id":1364479,"avatar_url":"https://avatars.githubusercontent.com/u/1364479?v=3","gravatar_id":"","url":"https://api.github.com/users/GeyseR","html_url":"https://github.com/GeyseR","followers_url":"https://api.github.com/users/GeyseR/followers","following_url":"https://api.github.com/users/GeyseR/following{/other_user}","gists_url":"https://api.github.com/users/GeyseR/gists{/gist_id}","starred_url":"https://api.github.com/users/GeyseR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeyseR/subscriptions","organizations_url":"https://api.github.com/users/GeyseR/orgs","repos_url":"https://api.github.com/users/GeyseR/repos","events_url":"https://api.github.com/users/GeyseR/events{/privacy}","received_events_url":"https://api.github.com/users/GeyseR/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T17:31:47Z","updated_at":"2015-07-10T17:31:47Z","body":"Thanks for posting results there. I accidentally forget to change migrations dependencies after copy-paste source migration."}}