{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/41742180","id":41742180,"diff_hunk":"@@ -213,6 +213,16 @@ CREATE TABLE IF NOT EXISTS SP_APP (\n \n ALTER TABLE SP_APP ADD CONSTRAINT APPLICATION_NAME_CONSTRAINT UNIQUE(APP_NAME, TENANT_ID);\n \n+CREATE TABLE IF NOT EXISTS SP_METADATA (\n+            ID INTEGER AUTO_INCREMENT,\n+            SP_ID INTEGER,\n+            NAME VARCHAR(255) NOT NULL,\n+            VALUE VARCHAR(255) NOT NULL,\n+            DISPLAY_NAME VARCHAR(255),\n+            PRIMARY KEY (ID),\n+            UNIQUE (SP_ID, NAME),","path":"features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/h2.sql","position":11,"original_position":11,"commit_id":"3641e3fce0022cdd15ab0c97129ca77cf95b8889","original_commit_id":"3641e3fce0022cdd15ab0c97129ca77cf95b8889","user":{"login":"madurangasiriwardena","id":1332991,"avatar_url":"https://avatars.githubusercontent.com/u/1332991?v=3","gravatar_id":"","url":"https://api.github.com/users/madurangasiriwardena","html_url":"https://github.com/madurangasiriwardena","followers_url":"https://api.github.com/users/madurangasiriwardena/followers","following_url":"https://api.github.com/users/madurangasiriwardena/following{/other_user}","gists_url":"https://api.github.com/users/madurangasiriwardena/gists{/gist_id}","starred_url":"https://api.github.com/users/madurangasiriwardena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madurangasiriwardena/subscriptions","organizations_url":"https://api.github.com/users/madurangasiriwardena/orgs","repos_url":"https://api.github.com/users/madurangasiriwardena/repos","events_url":"https://api.github.com/users/madurangasiriwardena/events{/privacy}","received_events_url":"https://api.github.com/users/madurangasiriwardena/received_events","type":"User","site_admin":false},"body":"better add a name for the constraint, it will make easy to drop the constraint if needed.","created_at":"2015-10-12T10:11:16Z","updated_at":"2015-10-12T10:11:16Z","html_url":"https://github.com/wso2/carbon-identity/pull/1148#discussion_r41742180","pull_request_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/1148","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/41742180"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/1148#discussion_r41742180"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/1148"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/1148","id":47390253,"html_url":"https://github.com/wso2/carbon-identity/pull/1148","diff_url":"https://github.com/wso2/carbon-identity/pull/1148.diff","patch_url":"https://github.com/wso2/carbon-identity/pull/1148.patch","issue_url":"https://api.github.com/repos/wso2/carbon-identity/issues/1148","number":1148,"state":"open","locked":false,"title":"Fix for IDENTITY-3811","user":{"login":"godwinamila","id":8766778,"avatar_url":"https://avatars.githubusercontent.com/u/8766778?v=3","gravatar_id":"","url":"https://api.github.com/users/godwinamila","html_url":"https://github.com/godwinamila","followers_url":"https://api.github.com/users/godwinamila/followers","following_url":"https://api.github.com/users/godwinamila/following{/other_user}","gists_url":"https://api.github.com/users/godwinamila/gists{/gist_id}","starred_url":"https://api.github.com/users/godwinamila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godwinamila/subscriptions","organizations_url":"https://api.github.com/users/godwinamila/orgs","repos_url":"https://api.github.com/users/godwinamila/repos","events_url":"https://api.github.com/users/godwinamila/events{/privacy}","received_events_url":"https://api.github.com/users/godwinamila/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-12T07:06:20Z","updated_at":"2015-10-12T10:11:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2e99aa16bcbf0af3a90fdd1b532b1673dd41afb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/1148/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/1148/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-identity/issues/1148/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-identity/statuses/3641e3fce0022cdd15ab0c97129ca77cf95b8889","head":{"label":"godwinamila:IDP_SP_DB_Change_SP_MetaData","ref":"IDP_SP_DB_Change_SP_MetaData","sha":"3641e3fce0022cdd15ab0c97129ca77cf95b8889","user":{"login":"godwinamila","id":8766778,"avatar_url":"https://avatars.githubusercontent.com/u/8766778?v=3","gravatar_id":"","url":"https://api.github.com/users/godwinamila","html_url":"https://github.com/godwinamila","followers_url":"https://api.github.com/users/godwinamila/followers","following_url":"https://api.github.com/users/godwinamila/following{/other_user}","gists_url":"https://api.github.com/users/godwinamila/gists{/gist_id}","starred_url":"https://api.github.com/users/godwinamila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godwinamila/subscriptions","organizations_url":"https://api.github.com/users/godwinamila/orgs","repos_url":"https://api.github.com/users/godwinamila/repos","events_url":"https://api.github.com/users/godwinamila/events{/privacy}","received_events_url":"https://api.github.com/users/godwinamila/received_events","type":"User","site_admin":false},"repo":{"id":37462224,"name":"carbon-identity","full_name":"godwinamila/carbon-identity","owner":{"login":"godwinamila","id":8766778,"avatar_url":"https://avatars.githubusercontent.com/u/8766778?v=3","gravatar_id":"","url":"https://api.github.com/users/godwinamila","html_url":"https://github.com/godwinamila","followers_url":"https://api.github.com/users/godwinamila/followers","following_url":"https://api.github.com/users/godwinamila/following{/other_user}","gists_url":"https://api.github.com/users/godwinamila/gists{/gist_id}","starred_url":"https://api.github.com/users/godwinamila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godwinamila/subscriptions","organizations_url":"https://api.github.com/users/godwinamila/orgs","repos_url":"https://api.github.com/users/godwinamila/repos","events_url":"https://api.github.com/users/godwinamila/events{/privacy}","received_events_url":"https://api.github.com/users/godwinamila/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/godwinamila/carbon-identity","description":"","fork":true,"url":"https://api.github.com/repos/godwinamila/carbon-identity","forks_url":"https://api.github.com/repos/godwinamila/carbon-identity/forks","keys_url":"https://api.github.com/repos/godwinamila/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godwinamila/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godwinamila/carbon-identity/teams","hooks_url":"https://api.github.com/repos/godwinamila/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/godwinamila/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/godwinamila/carbon-identity/events","assignees_url":"https://api.github.com/repos/godwinamila/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/godwinamila/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/godwinamila/carbon-identity/tags","blobs_url":"https://api.github.com/repos/godwinamila/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godwinamila/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godwinamila/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/godwinamila/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godwinamila/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/godwinamila/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/godwinamila/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/godwinamila/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/godwinamila/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/godwinamila/carbon-identity/subscription","commits_url":"https://api.github.com/repos/godwinamila/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/godwinamila/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/godwinamila/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/godwinamila/carbon-identity/issues/comments{/number}","contents_url":"https://api.github.com/repos/godwinamila/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/godwinamila/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godwinamila/carbon-identity/merges","archive_url":"https://api.github.com/repos/godwinamila/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godwinamila/carbon-identity/downloads","issues_url":"https://api.github.com/repos/godwinamila/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/godwinamila/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/godwinamila/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/godwinamila/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godwinamila/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/godwinamila/carbon-identity/releases{/id}","created_at":"2015-06-15T11:55:57Z","updated_at":"2015-06-15T11:56:05Z","pushed_at":"2015-10-12T07:05:36Z","git_url":"git://github.com/godwinamila/carbon-identity.git","ssh_url":"git@github.com:godwinamila/carbon-identity.git","clone_url":"https://github.com/godwinamila/carbon-identity.git","svn_url":"https://github.com/godwinamila/carbon-identity","homepage":null,"size":47813,"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":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"e97f1552f55af239437161407a78c538da6fc26f","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":16588204,"name":"carbon-identity","full_name":"wso2/carbon-identity","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-identity","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-identity","forks_url":"https://api.github.com/repos/wso2/carbon-identity/forks","keys_url":"https://api.github.com/repos/wso2/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-identity/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-identity/events","assignees_url":"https://api.github.com/repos/wso2/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-identity/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-identity/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-identity/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-identity/merges","archive_url":"https://api.github.com/repos/wso2/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-identity/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-identity/releases{/id}","created_at":"2014-02-06T17:58:23Z","updated_at":"2015-10-11T21:11:00Z","pushed_at":"2015-10-12T10:02:20Z","git_url":"git://github.com/wso2/carbon-identity.git","ssh_url":"git@github.com:wso2/carbon-identity.git","clone_url":"https://github.com/wso2/carbon-identity.git","svn_url":"https://github.com/wso2/carbon-identity","homepage":null,"size":119929,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":137,"mirror_url":null,"open_issues_count":60,"forks":137,"open_issues":60,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/1148"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/1148"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/1148"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/1148/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/1148/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/1148/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-identity/statuses/3641e3fce0022cdd15ab0c97129ca77cf95b8889"}}}}