{"action":"created","issue":{"url":"https://api.github.com/repos/edx/programs/issues/18","labels_url":"https://api.github.com/repos/edx/programs/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/edx/programs/issues/18/comments","events_url":"https://api.github.com/repos/edx/programs/issues/18/events","html_url":"https://github.com/edx/programs/pull/18","id":113092248,"number":18,"title":"Recreate initial programs migration","user":{"login":"rlucioni","id":969289,"avatar_url":"https://avatars.githubusercontent.com/u/969289?v=3","gravatar_id":"","url":"https://api.github.com/users/rlucioni","html_url":"https://github.com/rlucioni","followers_url":"https://api.github.com/users/rlucioni/followers","following_url":"https://api.github.com/users/rlucioni/following{/other_user}","gists_url":"https://api.github.com/users/rlucioni/gists{/gist_id}","starred_url":"https://api.github.com/users/rlucioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlucioni/subscriptions","organizations_url":"https://api.github.com/users/rlucioni/orgs","repos_url":"https://api.github.com/users/rlucioni/repos","events_url":"https://api.github.com/users/rlucioni/events{/privacy}","received_events_url":"https://api.github.com/users/rlucioni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-23T20:19:05Z","updated_at":"2015-10-23T20:30:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/programs/pulls/18","html_url":"https://github.com/edx/programs/pull/18","diff_url":"https://github.com/edx/programs/pull/18.diff","patch_url":"https://github.com/edx/programs/pull/18.patch"},"body":"Avoid issues preventing migrations altering existing unique constraints from being run against MySQL. The deleted migration was breaking in the CI environment.\r\n\r\n@feanil @jimabramson @edx/ecommerce "},"comment":{"url":"https://api.github.com/repos/edx/programs/issues/comments/150681798","html_url":"https://github.com/edx/programs/pull/18#issuecomment-150681798","issue_url":"https://api.github.com/repos/edx/programs/issues/18","id":150681798,"user":{"login":"rlucioni","id":969289,"avatar_url":"https://avatars.githubusercontent.com/u/969289?v=3","gravatar_id":"","url":"https://api.github.com/users/rlucioni","html_url":"https://github.com/rlucioni","followers_url":"https://api.github.com/users/rlucioni/followers","following_url":"https://api.github.com/users/rlucioni/following{/other_user}","gists_url":"https://api.github.com/users/rlucioni/gists{/gist_id}","starred_url":"https://api.github.com/users/rlucioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlucioni/subscriptions","organizations_url":"https://api.github.com/users/rlucioni/orgs","repos_url":"https://api.github.com/users/rlucioni/repos","events_url":"https://api.github.com/users/rlucioni/events{/privacy}","received_events_url":"https://api.github.com/users/rlucioni/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T20:30:03Z","updated_at":"2015-10-23T20:30:03Z","body":"I've verified that these migrations run successfully in the CI environment.\r\n```\r\nrlucioni@int i-b459d460:/edx/app/programs/programs$ DB_MIGRATION_USER=migrate DB_MIGRATION_PASS=password /edx/app/programs/venvs/programs/bin/python ./manage.py migrate\r\nOperations to perform:\r\n  Synchronize unmigrated apps: compressor, staticfiles, messages, rest_framework_swagger, api, rest_framework\r\n  Apply all migrations: core, programs, admin, sessions, auth, waffle, default, contenttypes\r\nSynchronizing apps without migrations:\r\n  Creating tables...\r\n    Running deferred SQL...\r\n  Installing custom SQL...\r\nRunning migrations:\r\n  Rendering model states... DONE\r\n  Applying contenttypes.0001_initial... OK\r\n  Applying contenttypes.0002_remove_content_type_name... OK\r\n  Applying auth.0001_initial... OK\r\n  Applying auth.0002_alter_permission_name_max_length... OK\r\n  Applying auth.0003_alter_user_email_max_length... OK\r\n  Applying auth.0004_alter_user_username_opts... OK\r\n  Applying auth.0005_alter_user_last_login_null... OK\r\n  Applying auth.0006_require_contenttypes_0002... OK\r\n  Applying core.0001_initial... OK\r\n  Applying admin.0001_initial... OK\r\n  Applying default.0001_initial... OK\r\n  Applying default.0002_add_related_name... OK\r\n  Applying default.0003_alter_email_max_length... OK\r\n  Applying programs.0001_initial... OK\r\n  Applying programs.0002_create_groups... OK\r\n  Applying sessions.0001_initial... OK\r\n  Applying waffle.0001_initial... OK\r\nrlucioni@int i-b459d460:/edx/app/programs/programs$ \r\n```"}}