{"action":"created","issue":{"url":"https://api.github.com/repos/vapor/fluent/issues/111","repository_url":"https://api.github.com/repos/vapor/fluent","labels_url":"https://api.github.com/repos/vapor/fluent/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/vapor/fluent/issues/111/comments","events_url":"https://api.github.com/repos/vapor/fluent/issues/111/events","html_url":"https://github.com/vapor/fluent/pull/111","id":181903556,"number":111,"title":"Fix missing action on pre-existing tables during preparation","user":{"login":"cwoloszynski","id":579268,"avatar_url":"https://avatars.githubusercontent.com/u/579268?v=3","gravatar_id":"","url":"https://api.github.com/users/cwoloszynski","html_url":"https://github.com/cwoloszynski","followers_url":"https://api.github.com/users/cwoloszynski/followers","following_url":"https://api.github.com/users/cwoloszynski/following{/other_user}","gists_url":"https://api.github.com/users/cwoloszynski/gists{/gist_id}","starred_url":"https://api.github.com/users/cwoloszynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwoloszynski/subscriptions","organizations_url":"https://api.github.com/users/cwoloszynski/orgs","repos_url":"https://api.github.com/users/cwoloszynski/repos","events_url":"https://api.github.com/users/cwoloszynski/events{/privacy}","received_events_url":"https://api.github.com/users/cwoloszynski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-09T18:48:19Z","updated_at":"2016-10-12T02:09:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vapor/fluent/pulls/111","html_url":"https://github.com/vapor/fluent/pull/111","diff_url":"https://github.com/vapor/fluent/pull/111.diff","patch_url":"https://github.com/vapor/fluent/pull/111.patch"},"body":"When a table already exists (so prepare is not called), the model.database is not set.  This corrects that issue.  "},"comment":{"url":"https://api.github.com/repos/vapor/fluent/issues/comments/253099415","html_url":"https://github.com/vapor/fluent/pull/111#issuecomment-253099415","issue_url":"https://api.github.com/repos/vapor/fluent/issues/111","id":253099415,"user":{"login":"natebird","id":4560,"avatar_url":"https://avatars.githubusercontent.com/u/4560?v=3","gravatar_id":"","url":"https://api.github.com/users/natebird","html_url":"https://github.com/natebird","followers_url":"https://api.github.com/users/natebird/followers","following_url":"https://api.github.com/users/natebird/following{/other_user}","gists_url":"https://api.github.com/users/natebird/gists{/gist_id}","starred_url":"https://api.github.com/users/natebird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natebird/subscriptions","organizations_url":"https://api.github.com/users/natebird/orgs","repos_url":"https://api.github.com/users/natebird/repos","events_url":"https://api.github.com/users/natebird/events{/privacy}","received_events_url":"https://api.github.com/users/natebird/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T02:09:05Z","updated_at":"2016-10-12T02:09:05Z","body":"@cwoloszynski No problem. I'm glad you are participating in the project.\r\n\r\nIf you look at the existing [tests] (https://github.com/vapor/fluent/blob/master/Tests/FluentTests/PreparationTests.swift) that cover this part of the code, you'll see that there are a number of 'deviations' that are tested in the same long test. Your code should have it's own test by the test for the code you are modifying.\r\n\r\nLet me know if you have any more questions."}}
{"actor":{"display_login":"natebird"}}