{"action":"created","comment":{"url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/comments/69006764","id":69006764,"diff_hunk":"@@ -0,0 +1,19 @@\n+require 'rails/generators/active_record/migration'\n+module Qa::Local\n+  class TablesGenerator < Rails::Generators::Base\n+    source_root File.expand_path('../templates', __FILE__)\n+    include ActiveRecord::Generators::Migration\n+\n+    def migrations\n+      generate \"model qa/local_authority name:string:uniq\"\n+      generate \"model qa/local_authority_entry local_authority:references label:string uri:string:uniq\"\n+      message = \"Rails doesn't support functional indexes in migrations, so you'll have to add this manually:\\n\" \\\n+    \"CREATE INDEX \\\"index_qa_local_authority_entries_on_lower_label\\\" ON \\\"qa_local_authority_entries\\\" (local_authority_id, lower(label))\\n\" \\\n+    \"   OR on Sqlite: \\n\" \\\n+    \"CREATE INDEX \\\"index_qa_local_authority_entries_on_lower_label\\\" ON \\\"qa_local_authority_entries\\\" (local_authority_id, label collate nocase)\\n\"\n+      say_status(\"info\", message, :yellow)","path":"lib/generators/qa/local/tables/tables_generator.rb","position":14,"original_position":14,"commit_id":"50c416a76da4d34fcad4656597a49d45f611942f","original_commit_id":"50c416a76da4d34fcad4656597a49d45f611942f","user":{"login":"mjgiarlo","id":131982,"avatar_url":"https://avatars.githubusercontent.com/u/131982?v=3","gravatar_id":"","url":"https://api.github.com/users/mjgiarlo","html_url":"https://github.com/mjgiarlo","followers_url":"https://api.github.com/users/mjgiarlo/followers","following_url":"https://api.github.com/users/mjgiarlo/following{/other_user}","gists_url":"https://api.github.com/users/mjgiarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/mjgiarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjgiarlo/subscriptions","organizations_url":"https://api.github.com/users/mjgiarlo/orgs","repos_url":"https://api.github.com/users/mjgiarlo/repos","events_url":"https://api.github.com/users/mjgiarlo/events{/privacy}","received_events_url":"https://api.github.com/users/mjgiarlo/received_events","type":"User","site_admin":false},"body":"Not `:blue`? Should we tag the UI/UX group?\r\n\r\n;)","created_at":"2016-06-29T18:56:56Z","updated_at":"2016-06-29T18:56:56Z","html_url":"https://github.com/projecthydra-labs/questioning_authority/pull/97#discussion_r69006764","pull_request_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/97","_links":{"self":{"href":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/comments/69006764"},"html":{"href":"https://github.com/projecthydra-labs/questioning_authority/pull/97#discussion_r69006764"},"pull_request":{"href":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/97","id":75699831,"html_url":"https://github.com/projecthydra-labs/questioning_authority/pull/97","diff_url":"https://github.com/projecthydra-labs/questioning_authority/pull/97.diff","patch_url":"https://github.com/projecthydra-labs/questioning_authority/pull/97.patch","issue_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/issues/97","number":97,"state":"open","locked":false,"title":"Provide database based authorities","user":{"login":"jcoyne","id":92044,"avatar_url":"https://avatars.githubusercontent.com/u/92044?v=3","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-29T18:41:51Z","updated_at":"2016-06-29T18:56:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af9796401fab2c970c0f3051be1276b3cea96ca5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/97/commits","review_comments_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/97/comments","review_comment_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/issues/97/comments","statuses_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/statuses/50c416a76da4d34fcad4656597a49d45f611942f","head":{"label":"projecthydra-labs:table","ref":"table","sha":"50c416a76da4d34fcad4656597a49d45f611942f","user":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":12877283,"name":"questioning_authority","full_name":"projecthydra-labs/questioning_authority","owner":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra-labs/questioning_authority","description":"Question your authorities","fork":false,"url":"https://api.github.com/repos/projecthydra-labs/questioning_authority","forks_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/forks","keys_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/teams","hooks_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/hooks","issue_events_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/events","assignees_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/tags","blobs_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/languages","stargazers_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/stargazers","contributors_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/contributors","subscribers_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/subscribers","subscription_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/subscription","commits_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/merges","archive_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/downloads","issues_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/releases{/id}","deployments_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/deployments","created_at":"2013-09-16T19:59:48Z","updated_at":"2016-03-25T16:49:43Z","pushed_at":"2016-06-29T18:41:51Z","git_url":"git://github.com/projecthydra-labs/questioning_authority.git","ssh_url":"git@github.com:projecthydra-labs/questioning_authority.git","clone_url":"https://github.com/projecthydra-labs/questioning_authority.git","svn_url":"https://github.com/projecthydra-labs/questioning_authority","homepage":null,"size":424,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":11,"forks":16,"open_issues":11,"watchers":21,"default_branch":"master"}},"base":{"label":"projecthydra-labs:master","ref":"master","sha":"616eef0a4247549d537e20c3d84a76b9b7e8faed","user":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":12877283,"name":"questioning_authority","full_name":"projecthydra-labs/questioning_authority","owner":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra-labs/questioning_authority","description":"Question your authorities","fork":false,"url":"https://api.github.com/repos/projecthydra-labs/questioning_authority","forks_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/forks","keys_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/teams","hooks_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/hooks","issue_events_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/events","assignees_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/tags","blobs_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/languages","stargazers_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/stargazers","contributors_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/contributors","subscribers_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/subscribers","subscription_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/subscription","commits_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/merges","archive_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/downloads","issues_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/releases{/id}","deployments_url":"https://api.github.com/repos/projecthydra-labs/questioning_authority/deployments","created_at":"2013-09-16T19:59:48Z","updated_at":"2016-03-25T16:49:43Z","pushed_at":"2016-06-29T18:41:51Z","git_url":"git://github.com/projecthydra-labs/questioning_authority.git","ssh_url":"git@github.com:projecthydra-labs/questioning_authority.git","clone_url":"https://github.com/projecthydra-labs/questioning_authority.git","svn_url":"https://github.com/projecthydra-labs/questioning_authority","homepage":null,"size":424,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":11,"forks":16,"open_issues":11,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/97"},"html":{"href":"https://github.com/projecthydra-labs/questioning_authority/pull/97"},"issue":{"href":"https://api.github.com/repos/projecthydra-labs/questioning_authority/issues/97"},"comments":{"href":"https://api.github.com/repos/projecthydra-labs/questioning_authority/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthydra-labs/questioning_authority/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/projecthydra-labs/questioning_authority/statuses/50c416a76da4d34fcad4656597a49d45f611942f"}}}}
{"actor":{"display_login":"mjgiarlo"}}