{"action":"created","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/7502","repository_url":"https://api.github.com/repos/TryGhost/Ghost","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7502/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7502/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7502/events","html_url":"https://github.com/TryGhost/Ghost/pull/7502","id":181431020,"number":7502,"title":"✨ use migration runner for init db","user":{"login":"kirrg001","id":1160712,"avatar_url":"https://avatars.githubusercontent.com/u/1160712?v=3","gravatar_id":"","url":"https://api.github.com/users/kirrg001","html_url":"https://github.com/kirrg001","followers_url":"https://api.github.com/users/kirrg001/followers","following_url":"https://api.github.com/users/kirrg001/following{/other_user}","gists_url":"https://api.github.com/users/kirrg001/gists{/gist_id}","starred_url":"https://api.github.com/users/kirrg001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirrg001/subscriptions","organizations_url":"https://api.github.com/users/kirrg001/orgs","repos_url":"https://api.github.com/users/kirrg001/repos","events_url":"https://api.github.com/users/kirrg001/events{/privacy}","received_events_url":"https://api.github.com/users/kirrg001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/TryGhost/Ghost/milestones/38","html_url":"https://github.com/TryGhost/Ghost/milestones/1.0.0-alpha.5","labels_url":"https://api.github.com/repos/TryGhost/Ghost/milestones/38/labels","id":2047376,"number":38,"title":"1.0.0-alpha.5","description":"Release Manager: @kirrg001\r\n\r\nEditor & DB improvements","creator":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2016-10-04T16:27:49Z","updated_at":"2016-10-11T08:36:00Z","due_on":"2016-10-17T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-10-06T14:29:08Z","updated_at":"2016-10-11T11:26:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TryGhost/Ghost/pulls/7502","html_url":"https://github.com/TryGhost/Ghost/pull/7502","diff_url":"https://github.com/TryGhost/Ghost/pull/7502.diff","patch_url":"https://github.com/TryGhost/Ghost/pull/7502.patch"},"body":"refs #7489 \r\n\r\nWhen you follow the commits, you can see what kind of adaptions were needed to use the new migration runner for initialising the database.\r\n\r\n**Important fact**: all the old code is not and will not get deleted until the very end.\r\nI copied code pieces i needed. The goal is to create new folders and leave the old code where it is. \r\n\r\nSo with this PR Ghost **will not auto populate the database** anymore. \r\nYou will get a health error with an advice to run the migration runner.\r\n\r\nThe seeding right now is very manual in `bootUp` script, which is not nice, but will get fixed in the next PR for seeding.\r\n\r\nThis PR already uses `sephiroth` JSON and command line API.\r\n\r\n### Next iterations:\r\n- create database\r\n- reset database\r\n- seeds and fixtures\r\n\r\n\r\n- [x] fix last tests\r\n- [x] test with mysql"},"comment":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/comments/252891151","html_url":"https://github.com/TryGhost/Ghost/pull/7502#issuecomment-252891151","issue_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7502","id":252891151,"user":{"login":"kirrg001","id":1160712,"avatar_url":"https://avatars.githubusercontent.com/u/1160712?v=3","gravatar_id":"","url":"https://api.github.com/users/kirrg001","html_url":"https://github.com/kirrg001","followers_url":"https://api.github.com/users/kirrg001/followers","following_url":"https://api.github.com/users/kirrg001/following{/other_user}","gists_url":"https://api.github.com/users/kirrg001/gists{/gist_id}","starred_url":"https://api.github.com/users/kirrg001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirrg001/subscriptions","organizations_url":"https://api.github.com/users/kirrg001/orgs","repos_url":"https://api.github.com/users/kirrg001/repos","events_url":"https://api.github.com/users/kirrg001/events{/privacy}","received_events_url":"https://api.github.com/users/kirrg001/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T11:26:19Z","updated_at":"2016-10-11T11:26:19Z","body":"merge me 🌮 "}}
{"actor":{"display_login":"kirrg001"}}