{"action":"created","issue":{"url":"https://api.github.com/repos/edx/ecommerce/issues/392","labels_url":"https://api.github.com/repos/edx/ecommerce/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/edx/ecommerce/issues/392/comments","events_url":"https://api.github.com/repos/edx/ecommerce/issues/392/events","html_url":"https://github.com/edx/ecommerce/pull/392","id":111214645,"number":392,"title":"Creating new migration with setting default value to 1","user":{"login":"awais786","id":445320,"avatar_url":"https://avatars.githubusercontent.com/u/445320?v=3","gravatar_id":"","url":"https://api.github.com/users/awais786","html_url":"https://github.com/awais786","followers_url":"https://api.github.com/users/awais786/followers","following_url":"https://api.github.com/users/awais786/following{/other_user}","gists_url":"https://api.github.com/users/awais786/gists{/gist_id}","starred_url":"https://api.github.com/users/awais786/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awais786/subscriptions","organizations_url":"https://api.github.com/users/awais786/orgs","repos_url":"https://api.github.com/users/awais786/repos","events_url":"https://api.github.com/users/awais786/events{/privacy}","received_events_url":"https://api.github.com/users/awais786/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-13T16:11:37Z","updated_at":"2015-10-13T19:54:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/ecommerce/pulls/392","html_url":"https://github.com/edx/ecommerce/pull/392","diff_url":"https://github.com/edx/ecommerce/pull/392.diff","patch_url":"https://github.com/edx/ecommerce/pull/392.patch"},"body":"This is the 2nd phase of migration and follows previous work https://github.com/edx/ecommerce/pull/326 to add `partner` to model `basket`.\r\n* Set the `default` to value `1` and also set `null=False`.\r\n\r\n_**Note:** This need to rebase with master after the previous work https://github.com/edx/ecommerce/pull/326 is merged._"},"comment":{"url":"https://api.github.com/repos/edx/ecommerce/issues/comments/147832562","html_url":"https://github.com/edx/ecommerce/pull/392#issuecomment-147832562","issue_url":"https://api.github.com/repos/edx/ecommerce/issues/392","id":147832562,"user":{"login":"awais786","id":445320,"avatar_url":"https://avatars.githubusercontent.com/u/445320?v=3","gravatar_id":"","url":"https://api.github.com/users/awais786","html_url":"https://github.com/awais786","followers_url":"https://api.github.com/users/awais786/followers","following_url":"https://api.github.com/users/awais786/following{/other_user}","gists_url":"https://api.github.com/users/awais786/gists{/gist_id}","starred_url":"https://api.github.com/users/awais786/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awais786/subscriptions","organizations_url":"https://api.github.com/users/awais786/orgs","repos_url":"https://api.github.com/users/awais786/repos","events_url":"https://api.github.com/users/awais786/events{/privacy}","received_events_url":"https://api.github.com/users/awais786/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T19:54:52Z","updated_at":"2015-10-13T19:54:52Z","body":"@clintonb after setting the default=1 it gives error with old code. That's why we set default=None.\r\nhttps://gist.github.com/zubair-arbi/7b08cdf81d0c990936df\r\n\r\nIf possible would you please try to check this at ur machine or sandbox (mysql only)."}}