{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/189","repository_url":"https://api.github.com/repos/strongloop/loopback-connector-mysql","labels_url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/189/comments","events_url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/189/events","html_url":"https://github.com/strongloop/loopback-connector-mysql/pull/189","id":172947852,"number":189,"title":"Add support for setting default values from the model definition during a migration.","user":{"login":"TheRossman","id":910120,"avatar_url":"https://avatars.githubusercontent.com/u/910120?v=3","gravatar_id":"","url":"https://api.github.com/users/TheRossman","html_url":"https://github.com/TheRossman","followers_url":"https://api.github.com/users/TheRossman/followers","following_url":"https://api.github.com/users/TheRossman/following{/other_user}","gists_url":"https://api.github.com/users/TheRossman/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRossman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRossman/subscriptions","organizations_url":"https://api.github.com/users/TheRossman/orgs","repos_url":"https://api.github.com/users/TheRossman/repos","events_url":"https://api.github.com/users/TheRossman/events{/privacy}","received_events_url":"https://api.github.com/users/TheRossman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/labels/%23community%20contribution","name":"#community contribution","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-24T13:12:27Z","updated_at":"2016-08-24T18:07:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/pulls/189","html_url":"https://github.com/strongloop/loopback-connector-mysql/pull/189","diff_url":"https://github.com/strongloop/loopback-connector-mysql/pull/189.diff","patch_url":"https://github.com/strongloop/loopback-connector-mysql/pull/189.patch"},"body":"Hi guys,\r\nI created this pull request in the hopes we could support default values during a migration.\r\n\r\nI wanted to add some code to do the same for a DB discovery, but that is more difficult because it also requires a change in loopback-datasource-juggler, so I'm not exactly what to do there.\r\n\r\nHopefully this is of some value, please let me know if there is anything I can do to make it better.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/comments/242157148","html_url":"https://github.com/strongloop/loopback-connector-mysql/pull/189#issuecomment-242157148","issue_url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/189","id":242157148,"user":{"login":"superkhau","id":1617364,"avatar_url":"https://avatars.githubusercontent.com/u/1617364?v=3","gravatar_id":"","url":"https://api.github.com/users/superkhau","html_url":"https://github.com/superkhau","followers_url":"https://api.github.com/users/superkhau/followers","following_url":"https://api.github.com/users/superkhau/following{/other_user}","gists_url":"https://api.github.com/users/superkhau/gists{/gist_id}","starred_url":"https://api.github.com/users/superkhau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superkhau/subscriptions","organizations_url":"https://api.github.com/users/superkhau/orgs","repos_url":"https://api.github.com/users/superkhau/repos","events_url":"https://api.github.com/users/superkhau/events{/privacy}","received_events_url":"https://api.github.com/users/superkhau/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T18:07:17Z","updated_at":"2016-08-24T18:07:17Z","body":"Can you add some tests to verify your changes and prevent regressions in the future?"}}
{"actor":{"display_login":"superkhau"}}