{"action":"created","comment":{"url":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/comments/29382898","id":29382898,"diff_hunk":"@@ -0,0 +1,46 @@\n+<?php\n+namespace UNL\\UCBCN\\Calendar;\n+\n+use UNL\\UCBCN\\ActiveRecord\\Record;\n+\n+/**\n+ * Table Definition for subscription\n+ */\n+class SubscriptionHasCalendar extends Record\n+{\n+    public $id;                              // int(10)  not_null primary_key unsigned auto_increment\n+    public $subscription_id;                // int(10)  not_null multiple_key unsigned\n+    public $calendar_id;                     // int(10)  not_null multiple_key unsigned\n+\n+    public static function getTable()\n+    {\n+        return 'subscription_has_calendar';\n+    }\n+\n+    function table()\n+    {\n+        return array(\n+            'id'=>129,\n+            'subscription_id'=>129,\n+            'calendar_id'=>129\n+        );\n+    }\n+\n+    function keys()\n+    {\n+        return array(\n+            'id',\n+        );\n+    }\n+    \n+    function sequenceKey()","path":"src/UNL/UCBCN/Calendar/SubscriptionHasCalendar.php","position":36,"original_position":36,"commit_id":"47cbcb4a2ae786349992340d4ffc33f24b14dbb8","original_commit_id":"47cbcb4a2ae786349992340d4ffc33f24b14dbb8","user":{"login":"mfairchild365","id":498678,"avatar_url":"https://avatars.githubusercontent.com/u/498678?v=3","gravatar_id":"","url":"https://api.github.com/users/mfairchild365","html_url":"https://github.com/mfairchild365","followers_url":"https://api.github.com/users/mfairchild365/followers","following_url":"https://api.github.com/users/mfairchild365/following{/other_user}","gists_url":"https://api.github.com/users/mfairchild365/gists{/gist_id}","starred_url":"https://api.github.com/users/mfairchild365/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfairchild365/subscriptions","organizations_url":"https://api.github.com/users/mfairchild365/orgs","repos_url":"https://api.github.com/users/mfairchild365/repos","events_url":"https://api.github.com/users/mfairchild365/events{/privacy}","received_events_url":"https://api.github.com/users/mfairchild365/received_events","type":"User","site_admin":false},"body":"Nor this","created_at":"2015-04-29T21:27:43Z","updated_at":"2015-04-29T21:27:43Z","html_url":"https://github.com/unl/UNL_UCBCN_System/pull/13#discussion_r29382898","pull_request_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/comments/29382898"},"html":{"href":"https://github.com/unl/UNL_UCBCN_System/pull/13#discussion_r29382898"},"pull_request":{"href":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/13","id":34407747,"html_url":"https://github.com/unl/UNL_UCBCN_System/pull/13","diff_url":"https://github.com/unl/UNL_UCBCN_System/pull/13.diff","patch_url":"https://github.com/unl/UNL_UCBCN_System/pull/13.patch","issue_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/issues/13","number":13,"state":"open","locked":false,"title":"Adding Subscriptions","user":{"login":"tlemburg","id":1199848,"avatar_url":"https://avatars.githubusercontent.com/u/1199848?v=3","gravatar_id":"","url":"https://api.github.com/users/tlemburg","html_url":"https://github.com/tlemburg","followers_url":"https://api.github.com/users/tlemburg/followers","following_url":"https://api.github.com/users/tlemburg/following{/other_user}","gists_url":"https://api.github.com/users/tlemburg/gists{/gist_id}","starred_url":"https://api.github.com/users/tlemburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlemburg/subscriptions","organizations_url":"https://api.github.com/users/tlemburg/orgs","repos_url":"https://api.github.com/users/tlemburg/repos","events_url":"https://api.github.com/users/tlemburg/events{/privacy}","received_events_url":"https://api.github.com/users/tlemburg/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-29T21:25:12Z","updated_at":"2015-04-29T21:27:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"924ea5c939fd0fc8c885b901ff4dd4e2fa6c8ecc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/13/commits","review_comments_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/13/comments","review_comment_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/issues/13/comments","statuses_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/statuses/47cbcb4a2ae786349992340d4ffc33f24b14dbb8","head":{"label":"tlemburg:master","ref":"master","sha":"47cbcb4a2ae786349992340d4ffc33f24b14dbb8","user":{"login":"tlemburg","id":1199848,"avatar_url":"https://avatars.githubusercontent.com/u/1199848?v=3","gravatar_id":"","url":"https://api.github.com/users/tlemburg","html_url":"https://github.com/tlemburg","followers_url":"https://api.github.com/users/tlemburg/followers","following_url":"https://api.github.com/users/tlemburg/following{/other_user}","gists_url":"https://api.github.com/users/tlemburg/gists{/gist_id}","starred_url":"https://api.github.com/users/tlemburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlemburg/subscriptions","organizations_url":"https://api.github.com/users/tlemburg/orgs","repos_url":"https://api.github.com/users/tlemburg/repos","events_url":"https://api.github.com/users/tlemburg/events{/privacy}","received_events_url":"https://api.github.com/users/tlemburg/received_events","type":"User","site_admin":false},"repo":{"id":31625640,"name":"UNL_UCBCN_System","full_name":"tlemburg/UNL_UCBCN_System","owner":{"login":"tlemburg","id":1199848,"avatar_url":"https://avatars.githubusercontent.com/u/1199848?v=3","gravatar_id":"","url":"https://api.github.com/users/tlemburg","html_url":"https://github.com/tlemburg","followers_url":"https://api.github.com/users/tlemburg/followers","following_url":"https://api.github.com/users/tlemburg/following{/other_user}","gists_url":"https://api.github.com/users/tlemburg/gists{/gist_id}","starred_url":"https://api.github.com/users/tlemburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlemburg/subscriptions","organizations_url":"https://api.github.com/users/tlemburg/orgs","repos_url":"https://api.github.com/users/tlemburg/repos","events_url":"https://api.github.com/users/tlemburg/events{/privacy}","received_events_url":"https://api.github.com/users/tlemburg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tlemburg/UNL_UCBCN_System","description":"New system for the UCBCN project, containing the frontend, backend and manager","fork":true,"url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System","forks_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/forks","keys_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/teams","hooks_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/hooks","issue_events_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/issues/events{/number}","events_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/events","assignees_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/assignees{/user}","branches_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/branches{/branch}","tags_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/tags","blobs_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/git/refs{/sha}","trees_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/statuses/{sha}","languages_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/languages","stargazers_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/stargazers","contributors_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/contributors","subscribers_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/subscribers","subscription_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/subscription","commits_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/commits{/sha}","git_commits_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/git/commits{/sha}","comments_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/comments{/number}","issue_comment_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/issues/comments{/number}","contents_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/contents/{+path}","compare_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/merges","archive_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/downloads","issues_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/issues{/number}","pulls_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/pulls{/number}","milestones_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/milestones{/number}","notifications_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/labels{/name}","releases_url":"https://api.github.com/repos/tlemburg/UNL_UCBCN_System/releases{/id}","created_at":"2015-03-03T22:46:30Z","updated_at":"2015-04-29T21:24:37Z","pushed_at":"2015-04-29T21:24:37Z","git_url":"git://github.com/tlemburg/UNL_UCBCN_System.git","ssh_url":"git@github.com:tlemburg/UNL_UCBCN_System.git","clone_url":"https://github.com/tlemburg/UNL_UCBCN_System.git","svn_url":"https://github.com/tlemburg/UNL_UCBCN_System","homepage":null,"size":7926,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"unl:master","ref":"master","sha":"4841ac631d06abe56f1a0650275604a472404b35","user":{"login":"unl","id":704049,"avatar_url":"https://avatars.githubusercontent.com/u/704049?v=3","gravatar_id":"","url":"https://api.github.com/users/unl","html_url":"https://github.com/unl","followers_url":"https://api.github.com/users/unl/followers","following_url":"https://api.github.com/users/unl/following{/other_user}","gists_url":"https://api.github.com/users/unl/gists{/gist_id}","starred_url":"https://api.github.com/users/unl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unl/subscriptions","organizations_url":"https://api.github.com/users/unl/orgs","repos_url":"https://api.github.com/users/unl/repos","events_url":"https://api.github.com/users/unl/events{/privacy}","received_events_url":"https://api.github.com/users/unl/received_events","type":"Organization","site_admin":false},"repo":{"id":31624318,"name":"UNL_UCBCN_System","full_name":"unl/UNL_UCBCN_System","owner":{"login":"unl","id":704049,"avatar_url":"https://avatars.githubusercontent.com/u/704049?v=3","gravatar_id":"","url":"https://api.github.com/users/unl","html_url":"https://github.com/unl","followers_url":"https://api.github.com/users/unl/followers","following_url":"https://api.github.com/users/unl/following{/other_user}","gists_url":"https://api.github.com/users/unl/gists{/gist_id}","starred_url":"https://api.github.com/users/unl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unl/subscriptions","organizations_url":"https://api.github.com/users/unl/orgs","repos_url":"https://api.github.com/users/unl/repos","events_url":"https://api.github.com/users/unl/events{/privacy}","received_events_url":"https://api.github.com/users/unl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unl/UNL_UCBCN_System","description":"New system for the UCBCN project, containing the frontend, backend and manager","fork":false,"url":"https://api.github.com/repos/unl/UNL_UCBCN_System","forks_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/forks","keys_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/teams","hooks_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/hooks","issue_events_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/issues/events{/number}","events_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/events","assignees_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/assignees{/user}","branches_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/branches{/branch}","tags_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/tags","blobs_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/git/refs{/sha}","trees_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/statuses/{sha}","languages_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/languages","stargazers_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/stargazers","contributors_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/contributors","subscribers_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/subscribers","subscription_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/subscription","commits_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/commits{/sha}","git_commits_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/git/commits{/sha}","comments_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/comments{/number}","issue_comment_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/issues/comments{/number}","contents_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/contents/{+path}","compare_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/merges","archive_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/downloads","issues_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/issues{/number}","pulls_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls{/number}","milestones_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/milestones{/number}","notifications_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/labels{/name}","releases_url":"https://api.github.com/repos/unl/UNL_UCBCN_System/releases{/id}","created_at":"2015-03-03T22:14:47Z","updated_at":"2015-04-29T21:24:05Z","pushed_at":"2015-04-29T21:25:13Z","git_url":"git://github.com/unl/UNL_UCBCN_System.git","ssh_url":"git@github.com:unl/UNL_UCBCN_System.git","clone_url":"https://github.com/unl/UNL_UCBCN_System.git","svn_url":"https://github.com/unl/UNL_UCBCN_System","homepage":null,"size":8047,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/13"},"html":{"href":"https://github.com/unl/UNL_UCBCN_System/pull/13"},"issue":{"href":"https://api.github.com/repos/unl/UNL_UCBCN_System/issues/13"},"comments":{"href":"https://api.github.com/repos/unl/UNL_UCBCN_System/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unl/UNL_UCBCN_System/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/unl/UNL_UCBCN_System/statuses/47cbcb4a2ae786349992340d4ffc33f24b14dbb8"}}}}