{"action":"opened","issue":{"url":"https://api.github.com/repos/msimacek/koschei/issues/34","labels_url":"https://api.github.com/repos/msimacek/koschei/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/msimacek/koschei/issues/34/comments","events_url":"https://api.github.com/repos/msimacek/koschei/issues/34/events","html_url":"https://github.com/msimacek/koschei/issues/34","id":104370174,"number":34,"title":"Alembic migration fails: column \"base_resolved\" contains null values","user":{"login":"mizdebsk","id":1963109,"avatar_url":"https://avatars.githubusercontent.com/u/1963109?v=3","gravatar_id":"","url":"https://api.github.com/users/mizdebsk","html_url":"https://github.com/mizdebsk","followers_url":"https://api.github.com/users/mizdebsk/followers","following_url":"https://api.github.com/users/mizdebsk/following{/other_user}","gists_url":"https://api.github.com/users/mizdebsk/gists{/gist_id}","starred_url":"https://api.github.com/users/mizdebsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizdebsk/subscriptions","organizations_url":"https://api.github.com/users/mizdebsk/orgs","repos_url":"https://api.github.com/users/mizdebsk/repos","events_url":"https://api.github.com/users/mizdebsk/events{/privacy}","received_events_url":"https://api.github.com/users/mizdebsk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-01T22:53:09Z","updated_at":"2015-09-01T22:53:09Z","closed_at":null,"body":"I've just tried running alembic migration on koschei01.stg.phx2.fedoraproject.org, but it failed with:\r\n```\r\nsqlalchemy.exc.IntegrityError: (IntegrityError) column \"base_resolved\" contains null values\r\n 'ALTER TABLE repo ALTER COLUMN base_resolved SET NOT NULL' {}\r\n```\r\n\r\nWorkaround: The following SQL fixed the problem:\r\n```\r\nupdate repo set base_resolved=true where base_resolved is null;\r\n```"}}