{"action":"closed","number":37763,"pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/37763","id":186834840,"html_url":"https://github.com/tgstation/tgstation/pull/37763","diff_url":"https://github.com/tgstation/tgstation/pull/37763.diff","patch_url":"https://github.com/tgstation/tgstation/pull/37763.patch","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/37763","number":37763,"state":"closed","locked":false,"title":"Adds role time log table and triggers","user":{"login":"Jordie0608","id":4343468,"avatar_url":"https://avatars2.githubusercontent.com/u/4343468?v=4","gravatar_id":"","url":"https://api.github.com/users/Jordie0608","html_url":"https://github.com/Jordie0608","followers_url":"https://api.github.com/users/Jordie0608/followers","following_url":"https://api.github.com/users/Jordie0608/following{/other_user}","gists_url":"https://api.github.com/users/Jordie0608/gists{/gist_id}","starred_url":"https://api.github.com/users/Jordie0608/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jordie0608/subscriptions","organizations_url":"https://api.github.com/users/Jordie0608/orgs","repos_url":"https://api.github.com/users/Jordie0608/repos","events_url":"https://api.github.com/users/Jordie0608/events{/privacy}","received_events_url":"https://api.github.com/users/Jordie0608/received_events","type":"User","site_admin":false},"body":"This change has already been done by @MrStonedOne so the schema just needs to be updated.\r\nThe table currently isn't used for anything and just updates with data from changes to `role_time`.\r\nWe'll fix it up to be a bit nicer once it starts being used.","created_at":"2018-05-09T07:07:17Z","updated_at":"2018-05-09T07:54:40Z","closed_at":"2018-05-09T07:54:40Z","merged_at":"2018-05-09T07:54:40Z","merge_commit_sha":"69cdd4f2693520d5b23a5df0c43ba800808e4ab2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":782390129,"url":"https://api.github.com/repos/tgstation/tgstation/labels/SQL","name":"SQL","color":"372f93","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/tgstation/pulls/37763/commits","review_comments_url":"https://api.github.com/repos/tgstation/tgstation/pulls/37763/comments","review_comment_url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/37763/comments","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/9fb38e6d4585e01aaf76905cb5d2a90290492220","head":{"label":"Jordie0608:ifipullthatindexoffwillyouoverflow","ref":"ifipullthatindexoffwillyouoverflow","sha":"9fb38e6d4585e01aaf76905cb5d2a90290492220","user":{"login":"Jordie0608","id":4343468,"avatar_url":"https://avatars2.githubusercontent.com/u/4343468?v=4","gravatar_id":"","url":"https://api.github.com/users/Jordie0608","html_url":"https://github.com/Jordie0608","followers_url":"https://api.github.com/users/Jordie0608/followers","following_url":"https://api.github.com/users/Jordie0608/following{/other_user}","gists_url":"https://api.github.com/users/Jordie0608/gists{/gist_id}","starred_url":"https://api.github.com/users/Jordie0608/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jordie0608/subscriptions","organizations_url":"https://api.github.com/users/Jordie0608/orgs","repos_url":"https://api.github.com/users/Jordie0608/repos","events_url":"https://api.github.com/users/Jordie0608/events{/privacy}","received_events_url":"https://api.github.com/users/Jordie0608/received_events","type":"User","site_admin":false},"repo":{"id":22762419,"name":"tgstation","full_name":"Jordie0608/tgstation","owner":{"login":"Jordie0608","id":4343468,"avatar_url":"https://avatars2.githubusercontent.com/u/4343468?v=4","gravatar_id":"","url":"https://api.github.com/users/Jordie0608","html_url":"https://github.com/Jordie0608","followers_url":"https://api.github.com/users/Jordie0608/followers","following_url":"https://api.github.com/users/Jordie0608/following{/other_user}","gists_url":"https://api.github.com/users/Jordie0608/gists{/gist_id}","starred_url":"https://api.github.com/users/Jordie0608/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jordie0608/subscriptions","organizations_url":"https://api.github.com/users/Jordie0608/orgs","repos_url":"https://api.github.com/users/Jordie0608/repos","events_url":"https://api.github.com/users/Jordie0608/events{/privacy}","received_events_url":"https://api.github.com/users/Jordie0608/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jordie0608/tgstation","description":"/tg/'s SS13 branch","fork":true,"url":"https://api.github.com/repos/Jordie0608/tgstation","forks_url":"https://api.github.com/repos/Jordie0608/tgstation/forks","keys_url":"https://api.github.com/repos/Jordie0608/tgstation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jordie0608/tgstation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jordie0608/tgstation/teams","hooks_url":"https://api.github.com/repos/Jordie0608/tgstation/hooks","issue_events_url":"https://api.github.com/repos/Jordie0608/tgstation/issues/events{/number}","events_url":"https://api.github.com/repos/Jordie0608/tgstation/events","assignees_url":"https://api.github.com/repos/Jordie0608/tgstation/assignees{/user}","branches_url":"https://api.github.com/repos/Jordie0608/tgstation/branches{/branch}","tags_url":"https://api.github.com/repos/Jordie0608/tgstation/tags","blobs_url":"https://api.github.com/repos/Jordie0608/tgstation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jordie0608/tgstation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jordie0608/tgstation/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jordie0608/tgstation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jordie0608/tgstation/statuses/{sha}","languages_url":"https://api.github.com/repos/Jordie0608/tgstation/languages","stargazers_url":"https://api.github.com/repos/Jordie0608/tgstation/stargazers","contributors_url":"https://api.github.com/repos/Jordie0608/tgstation/contributors","subscribers_url":"https://api.github.com/repos/Jordie0608/tgstation/subscribers","subscription_url":"https://api.github.com/repos/Jordie0608/tgstation/subscription","commits_url":"https://api.github.com/repos/Jordie0608/tgstation/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jordie0608/tgstation/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jordie0608/tgstation/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jordie0608/tgstation/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jordie0608/tgstation/contents/{+path}","compare_url":"https://api.github.com/repos/Jordie0608/tgstation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jordie0608/tgstation/merges","archive_url":"https://api.github.com/repos/Jordie0608/tgstation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jordie0608/tgstation/downloads","issues_url":"https://api.github.com/repos/Jordie0608/tgstation/issues{/number}","pulls_url":"https://api.github.com/repos/Jordie0608/tgstation/pulls{/number}","milestones_url":"https://api.github.com/repos/Jordie0608/tgstation/milestones{/number}","notifications_url":"https://api.github.com/repos/Jordie0608/tgstation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jordie0608/tgstation/labels{/name}","releases_url":"https://api.github.com/repos/Jordie0608/tgstation/releases{/id}","deployments_url":"https://api.github.com/repos/Jordie0608/tgstation/deployments","created_at":"2014-08-08T15:30:54Z","updated_at":"2018-05-09T05:11:31Z","pushed_at":"2018-05-09T07:33:58Z","git_url":"git://github.com/Jordie0608/tgstation.git","ssh_url":"git@github.com:Jordie0608/tgstation.git","clone_url":"https://github.com/Jordie0608/tgstation.git","svn_url":"https://github.com/Jordie0608/tgstation","homepage":"","size":1125971,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tgstation:master","ref":"master","sha":"9173de44274185e62bea8313895fd9a69d702e20","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars2.githubusercontent.com/u/1363778?v=4","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"repo":{"id":3234987,"name":"tgstation","full_name":"tgstation/tgstation","owner":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars2.githubusercontent.com/u/1363778?v=4","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tgstation/tgstation","description":"the /tg/station branch of SS13","fork":false,"url":"https://api.github.com/repos/tgstation/tgstation","forks_url":"https://api.github.com/repos/tgstation/tgstation/forks","keys_url":"https://api.github.com/repos/tgstation/tgstation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/tgstation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/tgstation/teams","hooks_url":"https://api.github.com/repos/tgstation/tgstation/hooks","issue_events_url":"https://api.github.com/repos/tgstation/tgstation/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/tgstation/events","assignees_url":"https://api.github.com/repos/tgstation/tgstation/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/tgstation/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/tgstation/tags","blobs_url":"https://api.github.com/repos/tgstation/tgstation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/tgstation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/tgstation/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/tgstation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/tgstation/languages","stargazers_url":"https://api.github.com/repos/tgstation/tgstation/stargazers","contributors_url":"https://api.github.com/repos/tgstation/tgstation/contributors","subscribers_url":"https://api.github.com/repos/tgstation/tgstation/subscribers","subscription_url":"https://api.github.com/repos/tgstation/tgstation/subscription","commits_url":"https://api.github.com/repos/tgstation/tgstation/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/tgstation/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/tgstation/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/tgstation/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgstation/tgstation/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/tgstation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/tgstation/merges","archive_url":"https://api.github.com/repos/tgstation/tgstation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/tgstation/downloads","issues_url":"https://api.github.com/repos/tgstation/tgstation/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/tgstation/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/tgstation/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/tgstation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/tgstation/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/tgstation/releases{/id}","deployments_url":"https://api.github.com/repos/tgstation/tgstation/deployments","created_at":"2012-01-21T17:32:47Z","updated_at":"2018-05-09T05:59:05Z","pushed_at":"2018-05-09T07:54:40Z","git_url":"git://github.com/tgstation/tgstation.git","ssh_url":"git@github.com:tgstation/tgstation.git","clone_url":"https://github.com/tgstation/tgstation.git","svn_url":"https://github.com/tgstation/tgstation","homepage":"https://www.tgstation13.org/","size":1126237,"stargazers_count":514,"watchers_count":514,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1784,"mirror_url":null,"archived":false,"open_issues_count":1235,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":1784,"open_issues":1235,"watchers":514,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/37763"},"html":{"href":"https://github.com/tgstation/tgstation/pull/37763"},"issue":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/37763"},"comments":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/37763/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/37763/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/37763/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/tgstation/statuses/9fb38e6d4585e01aaf76905cb5d2a90290492220"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Jordie0608","id":4343468,"avatar_url":"https://avatars2.githubusercontent.com/u/4343468?v=4","gravatar_id":"","url":"https://api.github.com/users/Jordie0608","html_url":"https://github.com/Jordie0608","followers_url":"https://api.github.com/users/Jordie0608/followers","following_url":"https://api.github.com/users/Jordie0608/following{/other_user}","gists_url":"https://api.github.com/users/Jordie0608/gists{/gist_id}","starred_url":"https://api.github.com/users/Jordie0608/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jordie0608/subscriptions","organizations_url":"https://api.github.com/users/Jordie0608/orgs","repos_url":"https://api.github.com/users/Jordie0608/repos","events_url":"https://api.github.com/users/Jordie0608/events{/privacy}","received_events_url":"https://api.github.com/users/Jordie0608/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":91,"deletions":4,"changed_files":4}}
{"actor":{"display_login":"Jordie0608"}}