{"action":"created","comment":{"url":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/comments/181719862","pull_request_review_id":112396384,"id":181719862,"diff_hunk":"@@ -7,30 +7,14 @@\n c.execute(\"DROP TABLE IF EXISTS posts\")\n \n c.execute(\"\"\"CREATE TABLE posts (\n-\talert text not null,\n-\talert_end text not null,\n-\talert_end_date text not null,\n-\talert_end_time text not null,\n-\talert_start text not null,\n-\talert_start_date text not null,\n-\talert_start_time text not null,\n-\taudience_0 text not null,\n-\taudience_1 text not null,\n-\taudience_2 text not null,\n \tcategory_id text not null,\n \tcategory_name text not null,\n \tcreated_at text not null,\n-\teditable text not null,\n \temail text not null,\n-\texpiration_date text not null,\n \tfullname text not null,\n \tID text primary key,\n-\tlocation_0 text not null,\n-\tlocation_1 text not null,\n \tmessage text not null,\n-\towner text not null,","path":"flask/dbsetup.py","position":25,"original_position":25,"commit_id":"1ff9466b9ff64b16391d5aeb1d2dfe3d1036534c","original_commit_id":"1ff9466b9ff64b16391d5aeb1d2dfe3d1036534c","user":{"login":"simonseo","id":7032356,"avatar_url":"https://avatars2.githubusercontent.com/u/7032356?v=4","gravatar_id":"","url":"https://api.github.com/users/simonseo","html_url":"https://github.com/simonseo","followers_url":"https://api.github.com/users/simonseo/followers","following_url":"https://api.github.com/users/simonseo/following{/other_user}","gists_url":"https://api.github.com/users/simonseo/gists{/gist_id}","starred_url":"https://api.github.com/users/simonseo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonseo/subscriptions","organizations_url":"https://api.github.com/users/simonseo/orgs","repos_url":"https://api.github.com/users/simonseo/repos","events_url":"https://api.github.com/users/simonseo/events{/privacy}","received_events_url":"https://api.github.com/users/simonseo/received_events","type":"User","site_admin":false},"body":"Weren't we going to keep the audience so that we can differentiate the data for each type of user?","created_at":"2018-04-16T12:44:12Z","updated_at":"2018-04-16T12:44:12Z","html_url":"https://github.com/simonseo/nyuad-spammer/pull/12#discussion_r181719862","pull_request_url":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/12","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/comments/181719862"},"html":{"href":"https://github.com/simonseo/nyuad-spammer/pull/12#discussion_r181719862"},"pull_request":{"href":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/12","id":181845945,"html_url":"https://github.com/simonseo/nyuad-spammer/pull/12","diff_url":"https://github.com/simonseo/nyuad-spammer/pull/12.diff","patch_url":"https://github.com/simonseo/nyuad-spammer/pull/12.patch","issue_url":"https://api.github.com/repos/simonseo/nyuad-spammer/issues/12","number":12,"state":"open","locked":false,"title":"Drop columns that we do not need","user":{"login":"anchor14","id":23202779,"avatar_url":"https://avatars1.githubusercontent.com/u/23202779?v=4","gravatar_id":"","url":"https://api.github.com/users/anchor14","html_url":"https://github.com/anchor14","followers_url":"https://api.github.com/users/anchor14/followers","following_url":"https://api.github.com/users/anchor14/following{/other_user}","gists_url":"https://api.github.com/users/anchor14/gists{/gist_id}","starred_url":"https://api.github.com/users/anchor14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anchor14/subscriptions","organizations_url":"https://api.github.com/users/anchor14/orgs","repos_url":"https://api.github.com/users/anchor14/repos","events_url":"https://api.github.com/users/anchor14/events{/privacy}","received_events_url":"https://api.github.com/users/anchor14/received_events","type":"User","site_admin":false},"body":"## What's up\r\n\r\nA small PR to erase the columns we do not need from the setup and post python files.","created_at":"2018-04-16T12:34:25Z","updated_at":"2018-04-16T12:44:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94fe99e81a61b3b95c7faf12d03a1aa3c3d670dd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/12/commits","review_comments_url":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/12/comments","review_comment_url":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/simonseo/nyuad-spammer/issues/12/comments","statuses_url":"https://api.github.com/repos/simonseo/nyuad-spammer/statuses/1ff9466b9ff64b16391d5aeb1d2dfe3d1036534c","head":{"label":"simonseo:drop-cols","ref":"drop-cols","sha":"1ff9466b9ff64b16391d5aeb1d2dfe3d1036534c","user":{"login":"simonseo","id":7032356,"avatar_url":"https://avatars2.githubusercontent.com/u/7032356?v=4","gravatar_id":"","url":"https://api.github.com/users/simonseo","html_url":"https://github.com/simonseo","followers_url":"https://api.github.com/users/simonseo/followers","following_url":"https://api.github.com/users/simonseo/following{/other_user}","gists_url":"https://api.github.com/users/simonseo/gists{/gist_id}","starred_url":"https://api.github.com/users/simonseo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonseo/subscriptions","organizations_url":"https://api.github.com/users/simonseo/orgs","repos_url":"https://api.github.com/users/simonseo/repos","events_url":"https://api.github.com/users/simonseo/events{/privacy}","received_events_url":"https://api.github.com/users/simonseo/received_events","type":"User","site_admin":false},"repo":{"id":127018066,"name":"nyuad-spammer","full_name":"simonseo/nyuad-spammer","owner":{"login":"simonseo","id":7032356,"avatar_url":"https://avatars2.githubusercontent.com/u/7032356?v=4","gravatar_id":"","url":"https://api.github.com/users/simonseo","html_url":"https://github.com/simonseo","followers_url":"https://api.github.com/users/simonseo/followers","following_url":"https://api.github.com/users/simonseo/following{/other_user}","gists_url":"https://api.github.com/users/simonseo/gists{/gist_id}","starred_url":"https://api.github.com/users/simonseo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonseo/subscriptions","organizations_url":"https://api.github.com/users/simonseo/orgs","repos_url":"https://api.github.com/users/simonseo/repos","events_url":"https://api.github.com/users/simonseo/events{/privacy}","received_events_url":"https://api.github.com/users/simonseo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simonseo/nyuad-spammer","description":"Subscribe to instant notifications from Student Portal. Don't miss Black Panther tickets again!","fork":false,"url":"https://api.github.com/repos/simonseo/nyuad-spammer","forks_url":"https://api.github.com/repos/simonseo/nyuad-spammer/forks","keys_url":"https://api.github.com/repos/simonseo/nyuad-spammer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonseo/nyuad-spammer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonseo/nyuad-spammer/teams","hooks_url":"https://api.github.com/repos/simonseo/nyuad-spammer/hooks","issue_events_url":"https://api.github.com/repos/simonseo/nyuad-spammer/issues/events{/number}","events_url":"https://api.github.com/repos/simonseo/nyuad-spammer/events","assignees_url":"https://api.github.com/repos/simonseo/nyuad-spammer/assignees{/user}","branches_url":"https://api.github.com/repos/simonseo/nyuad-spammer/branches{/branch}","tags_url":"https://api.github.com/repos/simonseo/nyuad-spammer/tags","blobs_url":"https://api.github.com/repos/simonseo/nyuad-spammer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonseo/nyuad-spammer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonseo/nyuad-spammer/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonseo/nyuad-spammer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonseo/nyuad-spammer/statuses/{sha}","languages_url":"https://api.github.com/repos/simonseo/nyuad-spammer/languages","stargazers_url":"https://api.github.com/repos/simonseo/nyuad-spammer/stargazers","contributors_url":"https://api.github.com/repos/simonseo/nyuad-spammer/contributors","subscribers_url":"https://api.github.com/repos/simonseo/nyuad-spammer/subscribers","subscription_url":"https://api.github.com/repos/simonseo/nyuad-spammer/subscription","commits_url":"https://api.github.com/repos/simonseo/nyuad-spammer/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonseo/nyuad-spammer/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonseo/nyuad-spammer/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonseo/nyuad-spammer/issues/comments{/number}","contents_url":"https://api.github.com/repos/simonseo/nyuad-spammer/contents/{+path}","compare_url":"https://api.github.com/repos/simonseo/nyuad-spammer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonseo/nyuad-spammer/merges","archive_url":"https://api.github.com/repos/simonseo/nyuad-spammer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonseo/nyuad-spammer/downloads","issues_url":"https://api.github.com/repos/simonseo/nyuad-spammer/issues{/number}","pulls_url":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls{/number}","milestones_url":"https://api.github.com/repos/simonseo/nyuad-spammer/milestones{/number}","notifications_url":"https://api.github.com/repos/simonseo/nyuad-spammer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonseo/nyuad-spammer/labels{/name}","releases_url":"https://api.github.com/repos/simonseo/nyuad-spammer/releases{/id}","deployments_url":"https://api.github.com/repos/simonseo/nyuad-spammer/deployments","created_at":"2018-03-27T16:48:59Z","updated_at":"2018-04-16T09:01:30Z","pushed_at":"2018-04-16T12:34:26Z","git_url":"git://github.com/simonseo/nyuad-spammer.git","ssh_url":"git@github.com:simonseo/nyuad-spammer.git","clone_url":"https://github.com/simonseo/nyuad-spammer.git","svn_url":"https://github.com/simonseo/nyuad-spammer","homepage":"","size":1648,"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":7,"license":null,"forks":0,"open_issues":7,"watchers":3,"default_branch":"master"}},"base":{"label":"simonseo:master","ref":"master","sha":"49d451ebc3ea3cc64c2c9d9ae31ab8a9cc3333ff","user":{"login":"simonseo","id":7032356,"avatar_url":"https://avatars2.githubusercontent.com/u/7032356?v=4","gravatar_id":"","url":"https://api.github.com/users/simonseo","html_url":"https://github.com/simonseo","followers_url":"https://api.github.com/users/simonseo/followers","following_url":"https://api.github.com/users/simonseo/following{/other_user}","gists_url":"https://api.github.com/users/simonseo/gists{/gist_id}","starred_url":"https://api.github.com/users/simonseo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonseo/subscriptions","organizations_url":"https://api.github.com/users/simonseo/orgs","repos_url":"https://api.github.com/users/simonseo/repos","events_url":"https://api.github.com/users/simonseo/events{/privacy}","received_events_url":"https://api.github.com/users/simonseo/received_events","type":"User","site_admin":false},"repo":{"id":127018066,"name":"nyuad-spammer","full_name":"simonseo/nyuad-spammer","owner":{"login":"simonseo","id":7032356,"avatar_url":"https://avatars2.githubusercontent.com/u/7032356?v=4","gravatar_id":"","url":"https://api.github.com/users/simonseo","html_url":"https://github.com/simonseo","followers_url":"https://api.github.com/users/simonseo/followers","following_url":"https://api.github.com/users/simonseo/following{/other_user}","gists_url":"https://api.github.com/users/simonseo/gists{/gist_id}","starred_url":"https://api.github.com/users/simonseo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonseo/subscriptions","organizations_url":"https://api.github.com/users/simonseo/orgs","repos_url":"https://api.github.com/users/simonseo/repos","events_url":"https://api.github.com/users/simonseo/events{/privacy}","received_events_url":"https://api.github.com/users/simonseo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simonseo/nyuad-spammer","description":"Subscribe to instant notifications from Student Portal. Don't miss Black Panther tickets again!","fork":false,"url":"https://api.github.com/repos/simonseo/nyuad-spammer","forks_url":"https://api.github.com/repos/simonseo/nyuad-spammer/forks","keys_url":"https://api.github.com/repos/simonseo/nyuad-spammer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonseo/nyuad-spammer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonseo/nyuad-spammer/teams","hooks_url":"https://api.github.com/repos/simonseo/nyuad-spammer/hooks","issue_events_url":"https://api.github.com/repos/simonseo/nyuad-spammer/issues/events{/number}","events_url":"https://api.github.com/repos/simonseo/nyuad-spammer/events","assignees_url":"https://api.github.com/repos/simonseo/nyuad-spammer/assignees{/user}","branches_url":"https://api.github.com/repos/simonseo/nyuad-spammer/branches{/branch}","tags_url":"https://api.github.com/repos/simonseo/nyuad-spammer/tags","blobs_url":"https://api.github.com/repos/simonseo/nyuad-spammer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonseo/nyuad-spammer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonseo/nyuad-spammer/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonseo/nyuad-spammer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonseo/nyuad-spammer/statuses/{sha}","languages_url":"https://api.github.com/repos/simonseo/nyuad-spammer/languages","stargazers_url":"https://api.github.com/repos/simonseo/nyuad-spammer/stargazers","contributors_url":"https://api.github.com/repos/simonseo/nyuad-spammer/contributors","subscribers_url":"https://api.github.com/repos/simonseo/nyuad-spammer/subscribers","subscription_url":"https://api.github.com/repos/simonseo/nyuad-spammer/subscription","commits_url":"https://api.github.com/repos/simonseo/nyuad-spammer/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonseo/nyuad-spammer/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonseo/nyuad-spammer/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonseo/nyuad-spammer/issues/comments{/number}","contents_url":"https://api.github.com/repos/simonseo/nyuad-spammer/contents/{+path}","compare_url":"https://api.github.com/repos/simonseo/nyuad-spammer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonseo/nyuad-spammer/merges","archive_url":"https://api.github.com/repos/simonseo/nyuad-spammer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonseo/nyuad-spammer/downloads","issues_url":"https://api.github.com/repos/simonseo/nyuad-spammer/issues{/number}","pulls_url":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls{/number}","milestones_url":"https://api.github.com/repos/simonseo/nyuad-spammer/milestones{/number}","notifications_url":"https://api.github.com/repos/simonseo/nyuad-spammer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonseo/nyuad-spammer/labels{/name}","releases_url":"https://api.github.com/repos/simonseo/nyuad-spammer/releases{/id}","deployments_url":"https://api.github.com/repos/simonseo/nyuad-spammer/deployments","created_at":"2018-03-27T16:48:59Z","updated_at":"2018-04-16T09:01:30Z","pushed_at":"2018-04-16T12:34:26Z","git_url":"git://github.com/simonseo/nyuad-spammer.git","ssh_url":"git@github.com:simonseo/nyuad-spammer.git","clone_url":"https://github.com/simonseo/nyuad-spammer.git","svn_url":"https://github.com/simonseo/nyuad-spammer","homepage":"","size":1648,"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":7,"license":null,"forks":0,"open_issues":7,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/12"},"html":{"href":"https://github.com/simonseo/nyuad-spammer/pull/12"},"issue":{"href":"https://api.github.com/repos/simonseo/nyuad-spammer/issues/12"},"comments":{"href":"https://api.github.com/repos/simonseo/nyuad-spammer/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/simonseo/nyuad-spammer/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/simonseo/nyuad-spammer/statuses/1ff9466b9ff64b16391d5aeb1d2dfe3d1036534c"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"simonseo"}}