{"action":"created","comment":{"url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/comments/234839134","pull_request_review_id":176567098,"id":234839134,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDgzOTEzNA==","diff_hunk":"@@ -397,3 +402,86 @@ def test_edge_case_proc_events_delete_with_no_parent_id_constraint(self):\n                 parent_id=None,\n             ),\n         ))\n+\n+    def test_proc_events_create(self):\n+        \"\"\"\n+        Let's say we want to insert a revised event before the started event.","path":"microcosm_eventsource/tests/ddl/test_migrations.py","position":130,"original_position":130,"commit_id":"06110797ae0e3705b3782aadc48f75000666555c","original_commit_id":"06110797ae0e3705b3782aadc48f75000666555c","user":{"login":"cdm-ium","id":5201654,"node_id":"MDQ6VXNlcjUyMDE2NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5201654?v=4","gravatar_id":"","url":"https://api.github.com/users/cdm-ium","html_url":"https://github.com/cdm-ium","followers_url":"https://api.github.com/users/cdm-ium/followers","following_url":"https://api.github.com/users/cdm-ium/following{/other_user}","gists_url":"https://api.github.com/users/cdm-ium/gists{/gist_id}","starred_url":"https://api.github.com/users/cdm-ium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdm-ium/subscriptions","organizations_url":"https://api.github.com/users/cdm-ium/orgs","repos_url":"https://api.github.com/users/cdm-ium/repos","events_url":"https://api.github.com/users/cdm-ium/events{/privacy}","received_events_url":"https://api.github.com/users/cdm-ium/received_events","type":"User","site_admin":false},"body":"I don't quite follow what you mean by \"in the middle\" here. The event being added here is in between a few other events. I will def add a test adding something to the end though.","created_at":"2018-11-20T01:09:54Z","updated_at":"2018-11-20T01:09:54Z","html_url":"https://github.com/globality-corp/microcosm-eventsource/pull/48#discussion_r234839134","pull_request_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/48","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/comments/234839134"},"html":{"href":"https://github.com/globality-corp/microcosm-eventsource/pull/48#discussion_r234839134"},"pull_request":{"href":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/48"}},"in_reply_to_id":234772907},"pull_request":{"url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/48","id":232103372,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMTAzMzcy","html_url":"https://github.com/globality-corp/microcosm-eventsource/pull/48","diff_url":"https://github.com/globality-corp/microcosm-eventsource/pull/48.diff","patch_url":"https://github.com/globality-corp/microcosm-eventsource/pull/48.patch","issue_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/issues/48","number":48,"state":"open","locked":false,"title":"Add new ddl for creating events.","user":{"login":"cdm-ium","id":5201654,"node_id":"MDQ6VXNlcjUyMDE2NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5201654?v=4","gravatar_id":"","url":"https://api.github.com/users/cdm-ium","html_url":"https://github.com/cdm-ium","followers_url":"https://api.github.com/users/cdm-ium/followers","following_url":"https://api.github.com/users/cdm-ium/following{/other_user}","gists_url":"https://api.github.com/users/cdm-ium/gists{/gist_id}","starred_url":"https://api.github.com/users/cdm-ium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdm-ium/subscriptions","organizations_url":"https://api.github.com/users/cdm-ium/orgs","repos_url":"https://api.github.com/users/cdm-ium/repos","events_url":"https://api.github.com/users/cdm-ium/events{/privacy}","received_events_url":"https://api.github.com/users/cdm-ium/received_events","type":"User","site_admin":false},"body":"Why? So far we have been missing an operation to create events in a\r\nmicrocosm eventsource table. It turns out this isn't so complicated to\r\nadd!\r\n\r\nBuilds off of: https://github.com/globality-corp/microcosm-eventsource/pull/37 which has been a great starting point.","created_at":"2018-11-19T20:33:24Z","updated_at":"2018-11-20T01:09:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb9ddd51f649911e883286b2d35a9c082653b2fd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/48/commits","review_comments_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/48/comments","review_comment_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/comments{/number}","comments_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/issues/48/comments","statuses_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/statuses/06110797ae0e3705b3782aadc48f75000666555c","head":{"label":"globality-corp:feature/add-create-events","ref":"feature/add-create-events","sha":"06110797ae0e3705b3782aadc48f75000666555c","user":{"login":"globality-corp","id":11172782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMTcyNzgy","avatar_url":"https://avatars2.githubusercontent.com/u/11172782?v=4","gravatar_id":"","url":"https://api.github.com/users/globality-corp","html_url":"https://github.com/globality-corp","followers_url":"https://api.github.com/users/globality-corp/followers","following_url":"https://api.github.com/users/globality-corp/following{/other_user}","gists_url":"https://api.github.com/users/globality-corp/gists{/gist_id}","starred_url":"https://api.github.com/users/globality-corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/globality-corp/subscriptions","organizations_url":"https://api.github.com/users/globality-corp/orgs","repos_url":"https://api.github.com/users/globality-corp/repos","events_url":"https://api.github.com/users/globality-corp/events{/privacy}","received_events_url":"https://api.github.com/users/globality-corp/received_events","type":"Organization","site_admin":false},"repo":{"id":89189034,"node_id":"MDEwOlJlcG9zaXRvcnk4OTE4OTAzNA==","name":"microcosm-eventsource","full_name":"globality-corp/microcosm-eventsource","private":false,"owner":{"login":"globality-corp","id":11172782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMTcyNzgy","avatar_url":"https://avatars2.githubusercontent.com/u/11172782?v=4","gravatar_id":"","url":"https://api.github.com/users/globality-corp","html_url":"https://github.com/globality-corp","followers_url":"https://api.github.com/users/globality-corp/followers","following_url":"https://api.github.com/users/globality-corp/following{/other_user}","gists_url":"https://api.github.com/users/globality-corp/gists{/gist_id}","starred_url":"https://api.github.com/users/globality-corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/globality-corp/subscriptions","organizations_url":"https://api.github.com/users/globality-corp/orgs","repos_url":"https://api.github.com/users/globality-corp/repos","events_url":"https://api.github.com/users/globality-corp/events{/privacy}","received_events_url":"https://api.github.com/users/globality-corp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/globality-corp/microcosm-eventsource","description":"Event sourced state machines","fork":false,"url":"https://api.github.com/repos/globality-corp/microcosm-eventsource","forks_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/forks","keys_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/keys{/key_id}","collaborators_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/teams","hooks_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/hooks","issue_events_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/issues/events{/number}","events_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/events","assignees_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/assignees{/user}","branches_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/branches{/branch}","tags_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/tags","blobs_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/git/refs{/sha}","trees_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/git/trees{/sha}","statuses_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/statuses/{sha}","languages_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/languages","stargazers_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/stargazers","contributors_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/contributors","subscribers_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/subscribers","subscription_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/subscription","commits_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/commits{/sha}","git_commits_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/git/commits{/sha}","comments_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/comments{/number}","issue_comment_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/issues/comments{/number}","contents_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/contents/{+path}","compare_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/compare/{base}...{head}","merges_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/merges","archive_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/downloads","issues_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/issues{/number}","pulls_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls{/number}","milestones_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/milestones{/number}","notifications_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/labels{/name}","releases_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/releases{/id}","deployments_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/deployments","created_at":"2017-04-24T02:23:16Z","updated_at":"2018-10-19T20:19:58Z","pushed_at":"2018-11-19T20:33:25Z","git_url":"git://github.com/globality-corp/microcosm-eventsource.git","ssh_url":"git@github.com:globality-corp/microcosm-eventsource.git","clone_url":"https://github.com/globality-corp/microcosm-eventsource.git","svn_url":"https://github.com/globality-corp/microcosm-eventsource","homepage":null,"size":120,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":3,"default_branch":"develop"}},"base":{"label":"globality-corp:develop","ref":"develop","sha":"32f6f45ed8d67c904ae0efa8e5799884ede6ff0a","user":{"login":"globality-corp","id":11172782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMTcyNzgy","avatar_url":"https://avatars2.githubusercontent.com/u/11172782?v=4","gravatar_id":"","url":"https://api.github.com/users/globality-corp","html_url":"https://github.com/globality-corp","followers_url":"https://api.github.com/users/globality-corp/followers","following_url":"https://api.github.com/users/globality-corp/following{/other_user}","gists_url":"https://api.github.com/users/globality-corp/gists{/gist_id}","starred_url":"https://api.github.com/users/globality-corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/globality-corp/subscriptions","organizations_url":"https://api.github.com/users/globality-corp/orgs","repos_url":"https://api.github.com/users/globality-corp/repos","events_url":"https://api.github.com/users/globality-corp/events{/privacy}","received_events_url":"https://api.github.com/users/globality-corp/received_events","type":"Organization","site_admin":false},"repo":{"id":89189034,"node_id":"MDEwOlJlcG9zaXRvcnk4OTE4OTAzNA==","name":"microcosm-eventsource","full_name":"globality-corp/microcosm-eventsource","private":false,"owner":{"login":"globality-corp","id":11172782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMTcyNzgy","avatar_url":"https://avatars2.githubusercontent.com/u/11172782?v=4","gravatar_id":"","url":"https://api.github.com/users/globality-corp","html_url":"https://github.com/globality-corp","followers_url":"https://api.github.com/users/globality-corp/followers","following_url":"https://api.github.com/users/globality-corp/following{/other_user}","gists_url":"https://api.github.com/users/globality-corp/gists{/gist_id}","starred_url":"https://api.github.com/users/globality-corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/globality-corp/subscriptions","organizations_url":"https://api.github.com/users/globality-corp/orgs","repos_url":"https://api.github.com/users/globality-corp/repos","events_url":"https://api.github.com/users/globality-corp/events{/privacy}","received_events_url":"https://api.github.com/users/globality-corp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/globality-corp/microcosm-eventsource","description":"Event sourced state machines","fork":false,"url":"https://api.github.com/repos/globality-corp/microcosm-eventsource","forks_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/forks","keys_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/keys{/key_id}","collaborators_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/teams","hooks_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/hooks","issue_events_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/issues/events{/number}","events_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/events","assignees_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/assignees{/user}","branches_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/branches{/branch}","tags_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/tags","blobs_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/git/refs{/sha}","trees_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/git/trees{/sha}","statuses_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/statuses/{sha}","languages_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/languages","stargazers_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/stargazers","contributors_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/contributors","subscribers_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/subscribers","subscription_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/subscription","commits_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/commits{/sha}","git_commits_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/git/commits{/sha}","comments_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/comments{/number}","issue_comment_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/issues/comments{/number}","contents_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/contents/{+path}","compare_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/compare/{base}...{head}","merges_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/merges","archive_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/downloads","issues_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/issues{/number}","pulls_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls{/number}","milestones_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/milestones{/number}","notifications_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/labels{/name}","releases_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/releases{/id}","deployments_url":"https://api.github.com/repos/globality-corp/microcosm-eventsource/deployments","created_at":"2017-04-24T02:23:16Z","updated_at":"2018-10-19T20:19:58Z","pushed_at":"2018-11-19T20:33:25Z","git_url":"git://github.com/globality-corp/microcosm-eventsource.git","ssh_url":"git@github.com:globality-corp/microcosm-eventsource.git","clone_url":"https://github.com/globality-corp/microcosm-eventsource.git","svn_url":"https://github.com/globality-corp/microcosm-eventsource","homepage":null,"size":120,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/48"},"html":{"href":"https://github.com/globality-corp/microcosm-eventsource/pull/48"},"issue":{"href":"https://api.github.com/repos/globality-corp/microcosm-eventsource/issues/48"},"comments":{"href":"https://api.github.com/repos/globality-corp/microcosm-eventsource/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/globality-corp/microcosm-eventsource/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/globality-corp/microcosm-eventsource/statuses/06110797ae0e3705b3782aadc48f75000666555c"}},"author_association":"NONE"}}
{"actor":{"display_login":"cdm-ium"}}