{"action":"created","comment":{"url":"https://api.github.com/repos/rancher/cattle/pulls/comments/38711794","id":38711794,"diff_hunk":"@@ -0,0 +1,11 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n+<databaseChangeLog xmlns=\"http://www.liquibase.org/xml/ns/dbchangelog\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd\">\n+    <property name=\"mediumtext\" value=\"TEXT\" dbms=\"postgresql\" />\n+    <property name=\"mediumtext\" value=\"MEDIUMTEXT\" />\n+    <changeSet author=\"wizardofmath (generated)\" id=\"dump1\">\n+        <modifyDataType columnName=\"public_value\" newDataType=\"varchar(100)\" tableName=\"credential\"/>\n+    </changeSet>\n+    <changeSet author=\"wizardofmath (generated)\" id=\"dump2\">\n+        <addUniqueConstraint columnNames=\"public_value\" constraintName=\"public_value_UNIQUE\" deferrable=\"false\" disabled=\"false\" initiallyDeferred=\"false\" tableName=\"credential\"/>","path":"resources/content/db/core-061.xml","position":9,"original_position":9,"commit_id":"25d997901665c161155a209ceca7d76bdf80382b","original_commit_id":"25d997901665c161155a209ceca7d76bdf80382b","user":{"login":"ibuildthecloud","id":1754002,"avatar_url":"https://avatars.githubusercontent.com/u/1754002?v=3","gravatar_id":"","url":"https://api.github.com/users/ibuildthecloud","html_url":"https://github.com/ibuildthecloud","followers_url":"https://api.github.com/users/ibuildthecloud/followers","following_url":"https://api.github.com/users/ibuildthecloud/following{/other_user}","gists_url":"https://api.github.com/users/ibuildthecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/ibuildthecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibuildthecloud/subscriptions","organizations_url":"https://api.github.com/users/ibuildthecloud/orgs","repos_url":"https://api.github.com/users/ibuildthecloud/repos","events_url":"https://api.github.com/users/ibuildthecloud/events{/privacy}","received_events_url":"https://api.github.com/users/ibuildthecloud/received_events","type":"User","site_admin":false},"body":"constraintName should be idx_credential_public_value","created_at":"2015-09-04T00:25:23Z","updated_at":"2015-09-04T00:25:23Z","html_url":"https://github.com/rancher/cattle/pull/841#discussion_r38711794","pull_request_url":"https://api.github.com/repos/rancher/cattle/pulls/841","_links":{"self":{"href":"https://api.github.com/repos/rancher/cattle/pulls/comments/38711794"},"html":{"href":"https://github.com/rancher/cattle/pull/841#discussion_r38711794"},"pull_request":{"href":"https://api.github.com/repos/rancher/cattle/pulls/841"}}},"pull_request":{"url":"https://api.github.com/repos/rancher/cattle/pulls/841","id":44171936,"html_url":"https://github.com/rancher/cattle/pull/841","diff_url":"https://github.com/rancher/cattle/pull/841.diff","patch_url":"https://github.com/rancher/cattle/pull/841.patch","issue_url":"https://api.github.com/repos/rancher/cattle/issues/841","number":841,"state":"open","locked":false,"title":"Add unique constraint to public_value","user":{"login":"hibooboo2","id":1197823,"avatar_url":"https://avatars.githubusercontent.com/u/1197823?v=3","gravatar_id":"","url":"https://api.github.com/users/hibooboo2","html_url":"https://github.com/hibooboo2","followers_url":"https://api.github.com/users/hibooboo2/followers","following_url":"https://api.github.com/users/hibooboo2/following{/other_user}","gists_url":"https://api.github.com/users/hibooboo2/gists{/gist_id}","starred_url":"https://api.github.com/users/hibooboo2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hibooboo2/subscriptions","organizations_url":"https://api.github.com/users/hibooboo2/orgs","repos_url":"https://api.github.com/users/hibooboo2/repos","events_url":"https://api.github.com/users/hibooboo2/events{/privacy}","received_events_url":"https://api.github.com/users/hibooboo2/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-09-04T00:09:15Z","updated_at":"2015-09-04T00:25:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"943d7f14c87efa5d0ee014fa4c9419878b6bba54","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rancher/cattle/pulls/841/commits","review_comments_url":"https://api.github.com/repos/rancher/cattle/pulls/841/comments","review_comment_url":"https://api.github.com/repos/rancher/cattle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rancher/cattle/issues/841/comments","statuses_url":"https://api.github.com/repos/rancher/cattle/statuses/25d997901665c161155a209ceca7d76bdf80382b","head":{"label":"hibooboo2:make_credential_public_value_unique","ref":"make_credential_public_value_unique","sha":"25d997901665c161155a209ceca7d76bdf80382b","user":{"login":"hibooboo2","id":1197823,"avatar_url":"https://avatars.githubusercontent.com/u/1197823?v=3","gravatar_id":"","url":"https://api.github.com/users/hibooboo2","html_url":"https://github.com/hibooboo2","followers_url":"https://api.github.com/users/hibooboo2/followers","following_url":"https://api.github.com/users/hibooboo2/following{/other_user}","gists_url":"https://api.github.com/users/hibooboo2/gists{/gist_id}","starred_url":"https://api.github.com/users/hibooboo2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hibooboo2/subscriptions","organizations_url":"https://api.github.com/users/hibooboo2/orgs","repos_url":"https://api.github.com/users/hibooboo2/repos","events_url":"https://api.github.com/users/hibooboo2/events{/privacy}","received_events_url":"https://api.github.com/users/hibooboo2/received_events","type":"User","site_admin":false},"repo":{"id":29162693,"name":"cattle","full_name":"hibooboo2/cattle","owner":{"login":"hibooboo2","id":1197823,"avatar_url":"https://avatars.githubusercontent.com/u/1197823?v=3","gravatar_id":"","url":"https://api.github.com/users/hibooboo2","html_url":"https://github.com/hibooboo2","followers_url":"https://api.github.com/users/hibooboo2/followers","following_url":"https://api.github.com/users/hibooboo2/following{/other_user}","gists_url":"https://api.github.com/users/hibooboo2/gists{/gist_id}","starred_url":"https://api.github.com/users/hibooboo2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hibooboo2/subscriptions","organizations_url":"https://api.github.com/users/hibooboo2/orgs","repos_url":"https://api.github.com/users/hibooboo2/repos","events_url":"https://api.github.com/users/hibooboo2/events{/privacy}","received_events_url":"https://api.github.com/users/hibooboo2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hibooboo2/cattle","description":"Infrastructure orchestration platform","fork":true,"url":"https://api.github.com/repos/hibooboo2/cattle","forks_url":"https://api.github.com/repos/hibooboo2/cattle/forks","keys_url":"https://api.github.com/repos/hibooboo2/cattle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hibooboo2/cattle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hibooboo2/cattle/teams","hooks_url":"https://api.github.com/repos/hibooboo2/cattle/hooks","issue_events_url":"https://api.github.com/repos/hibooboo2/cattle/issues/events{/number}","events_url":"https://api.github.com/repos/hibooboo2/cattle/events","assignees_url":"https://api.github.com/repos/hibooboo2/cattle/assignees{/user}","branches_url":"https://api.github.com/repos/hibooboo2/cattle/branches{/branch}","tags_url":"https://api.github.com/repos/hibooboo2/cattle/tags","blobs_url":"https://api.github.com/repos/hibooboo2/cattle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hibooboo2/cattle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hibooboo2/cattle/git/refs{/sha}","trees_url":"https://api.github.com/repos/hibooboo2/cattle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hibooboo2/cattle/statuses/{sha}","languages_url":"https://api.github.com/repos/hibooboo2/cattle/languages","stargazers_url":"https://api.github.com/repos/hibooboo2/cattle/stargazers","contributors_url":"https://api.github.com/repos/hibooboo2/cattle/contributors","subscribers_url":"https://api.github.com/repos/hibooboo2/cattle/subscribers","subscription_url":"https://api.github.com/repos/hibooboo2/cattle/subscription","commits_url":"https://api.github.com/repos/hibooboo2/cattle/commits{/sha}","git_commits_url":"https://api.github.com/repos/hibooboo2/cattle/git/commits{/sha}","comments_url":"https://api.github.com/repos/hibooboo2/cattle/comments{/number}","issue_comment_url":"https://api.github.com/repos/hibooboo2/cattle/issues/comments{/number}","contents_url":"https://api.github.com/repos/hibooboo2/cattle/contents/{+path}","compare_url":"https://api.github.com/repos/hibooboo2/cattle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hibooboo2/cattle/merges","archive_url":"https://api.github.com/repos/hibooboo2/cattle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hibooboo2/cattle/downloads","issues_url":"https://api.github.com/repos/hibooboo2/cattle/issues{/number}","pulls_url":"https://api.github.com/repos/hibooboo2/cattle/pulls{/number}","milestones_url":"https://api.github.com/repos/hibooboo2/cattle/milestones{/number}","notifications_url":"https://api.github.com/repos/hibooboo2/cattle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hibooboo2/cattle/labels{/name}","releases_url":"https://api.github.com/repos/hibooboo2/cattle/releases{/id}","created_at":"2015-01-12T23:33:21Z","updated_at":"2015-05-05T18:29:09Z","pushed_at":"2015-09-04T00:03:04Z","git_url":"git://github.com/hibooboo2/cattle.git","ssh_url":"git@github.com:hibooboo2/cattle.git","clone_url":"https://github.com/hibooboo2/cattle.git","svn_url":"https://github.com/hibooboo2/cattle","homepage":"","size":22170,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"drone-slack"}},"base":{"label":"rancher:master","ref":"master","sha":"0f13d96a0ed22b20abef3e5b4c3bbc4fdb5aa6af","user":{"login":"rancher","id":9343010,"avatar_url":"https://avatars.githubusercontent.com/u/9343010?v=3","gravatar_id":"","url":"https://api.github.com/users/rancher","html_url":"https://github.com/rancher","followers_url":"https://api.github.com/users/rancher/followers","following_url":"https://api.github.com/users/rancher/following{/other_user}","gists_url":"https://api.github.com/users/rancher/gists{/gist_id}","starred_url":"https://api.github.com/users/rancher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rancher/subscriptions","organizations_url":"https://api.github.com/users/rancher/orgs","repos_url":"https://api.github.com/users/rancher/repos","events_url":"https://api.github.com/users/rancher/events{/privacy}","received_events_url":"https://api.github.com/users/rancher/received_events","type":"Organization","site_admin":false},"repo":{"id":18023059,"name":"cattle","full_name":"rancher/cattle","owner":{"login":"rancher","id":9343010,"avatar_url":"https://avatars.githubusercontent.com/u/9343010?v=3","gravatar_id":"","url":"https://api.github.com/users/rancher","html_url":"https://github.com/rancher","followers_url":"https://api.github.com/users/rancher/followers","following_url":"https://api.github.com/users/rancher/following{/other_user}","gists_url":"https://api.github.com/users/rancher/gists{/gist_id}","starred_url":"https://api.github.com/users/rancher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rancher/subscriptions","organizations_url":"https://api.github.com/users/rancher/orgs","repos_url":"https://api.github.com/users/rancher/repos","events_url":"https://api.github.com/users/rancher/events{/privacy}","received_events_url":"https://api.github.com/users/rancher/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rancher/cattle","description":"Infrastructure orchestration platform","fork":false,"url":"https://api.github.com/repos/rancher/cattle","forks_url":"https://api.github.com/repos/rancher/cattle/forks","keys_url":"https://api.github.com/repos/rancher/cattle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rancher/cattle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rancher/cattle/teams","hooks_url":"https://api.github.com/repos/rancher/cattle/hooks","issue_events_url":"https://api.github.com/repos/rancher/cattle/issues/events{/number}","events_url":"https://api.github.com/repos/rancher/cattle/events","assignees_url":"https://api.github.com/repos/rancher/cattle/assignees{/user}","branches_url":"https://api.github.com/repos/rancher/cattle/branches{/branch}","tags_url":"https://api.github.com/repos/rancher/cattle/tags","blobs_url":"https://api.github.com/repos/rancher/cattle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rancher/cattle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rancher/cattle/git/refs{/sha}","trees_url":"https://api.github.com/repos/rancher/cattle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rancher/cattle/statuses/{sha}","languages_url":"https://api.github.com/repos/rancher/cattle/languages","stargazers_url":"https://api.github.com/repos/rancher/cattle/stargazers","contributors_url":"https://api.github.com/repos/rancher/cattle/contributors","subscribers_url":"https://api.github.com/repos/rancher/cattle/subscribers","subscription_url":"https://api.github.com/repos/rancher/cattle/subscription","commits_url":"https://api.github.com/repos/rancher/cattle/commits{/sha}","git_commits_url":"https://api.github.com/repos/rancher/cattle/git/commits{/sha}","comments_url":"https://api.github.com/repos/rancher/cattle/comments{/number}","issue_comment_url":"https://api.github.com/repos/rancher/cattle/issues/comments{/number}","contents_url":"https://api.github.com/repos/rancher/cattle/contents/{+path}","compare_url":"https://api.github.com/repos/rancher/cattle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rancher/cattle/merges","archive_url":"https://api.github.com/repos/rancher/cattle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rancher/cattle/downloads","issues_url":"https://api.github.com/repos/rancher/cattle/issues{/number}","pulls_url":"https://api.github.com/repos/rancher/cattle/pulls{/number}","milestones_url":"https://api.github.com/repos/rancher/cattle/milestones{/number}","notifications_url":"https://api.github.com/repos/rancher/cattle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rancher/cattle/labels{/name}","releases_url":"https://api.github.com/repos/rancher/cattle/releases{/id}","created_at":"2014-03-23T00:19:52Z","updated_at":"2015-08-31T04:23:57Z","pushed_at":"2015-09-04T00:22:11Z","git_url":"git://github.com/rancher/cattle.git","ssh_url":"git@github.com:rancher/cattle.git","clone_url":"https://github.com/rancher/cattle.git","svn_url":"https://github.com/rancher/cattle","homepage":"","size":29978,"stargazers_count":156,"watchers_count":156,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":79,"forks":46,"open_issues":79,"watchers":156,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rancher/cattle/pulls/841"},"html":{"href":"https://github.com/rancher/cattle/pull/841"},"issue":{"href":"https://api.github.com/repos/rancher/cattle/issues/841"},"comments":{"href":"https://api.github.com/repos/rancher/cattle/issues/841/comments"},"review_comments":{"href":"https://api.github.com/repos/rancher/cattle/pulls/841/comments"},"review_comment":{"href":"https://api.github.com/repos/rancher/cattle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rancher/cattle/pulls/841/commits"},"statuses":{"href":"https://api.github.com/repos/rancher/cattle/statuses/25d997901665c161155a209ceca7d76bdf80382b"}}}}