{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/6309","repository_url":"https://api.github.com/repos/cockroachdb/cockroach","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/6309/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/6309/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/6309/events","html_url":"https://github.com/cockroachdb/cockroach/pull/6309","id":151023956,"number":6309,"title":"rfc: First draft of FKs RFC","user":{"login":"dt","id":15615,"avatar_url":"https://avatars.githubusercontent.com/u/15615?v=3","gravatar_id":"","url":"https://api.github.com/users/dt","html_url":"https://github.com/dt","followers_url":"https://api.github.com/users/dt/followers","following_url":"https://api.github.com/users/dt/following{/other_user}","gists_url":"https://api.github.com/users/dt/gists{/gist_id}","starred_url":"https://api.github.com/users/dt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dt/subscriptions","organizations_url":"https://api.github.com/users/dt/orgs","repos_url":"https://api.github.com/users/dt/repos","events_url":"https://api.github.com/users/dt/events{/privacy}","received_events_url":"https://api.github.com/users/dt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-04-26T02:20:35Z","updated_at":"2016-05-02T19:11:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/6309","html_url":"https://github.com/cockroachdb/cockroach/pull/6309","diff_url":"https://github.com/cockroachdb/cockroach/pull/6309.diff","patch_url":"https://github.com/cockroachdb/cockroach/pull/6309.patch"},"body":"The majority of the complexity is around handling schema-changes --\r\nin the steady state, enforcing FKs on CRUD operations is relatively\r\nstraightforward.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/cockroachdb/cockroach/6309)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/216332424","html_url":"https://github.com/cockroachdb/cockroach/pull/6309#issuecomment-216332424","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/6309","id":216332424,"user":{"login":"petermattis","id":6201335,"avatar_url":"https://avatars.githubusercontent.com/u/6201335?v=3","gravatar_id":"","url":"https://api.github.com/users/petermattis","html_url":"https://github.com/petermattis","followers_url":"https://api.github.com/users/petermattis/followers","following_url":"https://api.github.com/users/petermattis/following{/other_user}","gists_url":"https://api.github.com/users/petermattis/gists{/gist_id}","starred_url":"https://api.github.com/users/petermattis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermattis/subscriptions","organizations_url":"https://api.github.com/users/petermattis/orgs","repos_url":"https://api.github.com/users/petermattis/repos","events_url":"https://api.github.com/users/petermattis/events{/privacy}","received_events_url":"https://api.github.com/users/petermattis/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T19:11:23Z","updated_at":"2016-05-02T19:11:23Z","body":"\n\n\n\nReview status: 0 of 1 files reviewed at latest revision, 11 unresolved discussions, some commit checks pending.\n\n---\n\n*[docs/RFCS/fk.md, line 71 \\[r3\\]](https://reviewable.io:443/reviews/cockroachdb/cockroach/6309#-KGmk9ASPt6zThyisfGd:-KGms7tTYjcyplT6VGMi:514483474) ([raw file](https://github.com/cockroachdb/cockroach/blob/9c4e1461755cdd0f927dc04635bc8572aa70d483/docs/RFCS/fk.md#L71)):*\nRight, but in our terminology we've been using `schema change` to refer to the end-user action (e.g. `add index`). It is somewhat confusing to use the same term to refer to the individual steps involved in the schema change which is why I'm trying to use the term `step` there. Not a big deal. I think we're on the same page.\n\n---\n\n\n*Comments from [Reviewable](https://reviewable.io:443/reviews/cockroachdb/cockroach/6309)*\n<!-- Sent from Reviewable.io -->\n"}}