GitHub PullRequestReviewCommentEvent at 2014-05-14 22:17:33
Repository: rails
Actor: rafaelfranca
Payload: {"comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/12665095","id":12665095,"diff_hunk":"@@ -902,6 +902,14 @@ schema into a RDBMS other than the one used to create it.\n Because schema dumps are the authoritative source for your database schema, it\n is strongly recommended that you check them into source control.\n \n+`db/schema.rb` contains the current version number of the database. This\n+ensures conflicts are going to happen in the case of a merge where both\n+branches touched the schema.\n+\n+When that happens, the resolving strategy is running `rake db:migrate` during","path":"guides/source/migrations.md","position":8,"original_position":8,"commit_id":"18342fa9c65815d8d5e5352ae45f140821889848","original_commit_id":"18342fa9c65815d8d5e5352ae45f140821889848","user":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars.githubusercontent.com/u/47848?","gravatar_id":"0525b332aafb83307b32d9747a93de03","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"body":"1. yes.\r\n2. yes, but not solving conflicts.\r\n3. If you create of destroy a table by hand in your database this change will reflect on the schema. So if I delete the user database locally and run migration the schema will have the users database deleted even if there are no migration with this removal.","created_at":"2014-05-14T22:17:33Z","updated_at":"2014-05-14T22:17:33Z","html_url":"https://github.com/rails/rails/pull/15113#discussion_r12665095","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/15113","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/12665095"},"html":{"href":"https://github.com/rails/rails/pull/15113#discussion_r12665095"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/15113"}}}}