{"action":"closed","number":1343,"pull_request":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1343","id":53001168,"html_url":"https://github.com/geonetwork/core-geonetwork/pull/1343","diff_url":"https://github.com/geonetwork/core-geonetwork/pull/1343.diff","patch_url":"https://github.com/geonetwork/core-geonetwork/pull/1343.patch","issue_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1343","number":1343,"state":"closed","locked":false,"title":"Fix db migration by ensuring field exists before setting its value (#…","user":{"login":"landryb","id":3421760,"avatar_url":"https://avatars.githubusercontent.com/u/3421760?v=3","gravatar_id":"","url":"https://api.github.com/users/landryb","html_url":"https://github.com/landryb","followers_url":"https://api.github.com/users/landryb/followers","following_url":"https://api.github.com/users/landryb/following{/other_user}","gists_url":"https://api.github.com/users/landryb/gists{/gist_id}","starred_url":"https://api.github.com/users/landryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landryb/subscriptions","organizations_url":"https://api.github.com/users/landryb/orgs","repos_url":"https://api.github.com/users/landryb/repos","events_url":"https://api.github.com/users/landryb/events{/privacy}","received_events_url":"https://api.github.com/users/landryb/received_events","type":"User","site_admin":false},"body":"…1342)\r\n\r\nWhile here remove nullable constraint on pushstyleinworkspace.\r\n\r\nMigration works okay between 3.0.2 and 3.0.3, new fields are added and correctly initialized in both tables.","created_at":"2015-12-08T16:14:33Z","updated_at":"2015-12-08T17:33:42Z","closed_at":"2015-12-08T17:33:42Z","merged_at":"2015-12-08T17:33:42Z","merge_commit_sha":"c3f4c9f7b9f4264c8af0710c709141a02c3aa044","assignee":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones/18","html_url":"https://github.com/geonetwork/core-geonetwork/milestones/3.0.3","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones/18/labels","id":1270755,"number":18,"title":"3.0.3","description":"","creator":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":61,"state":"open","created_at":"2015-08-25T04:28:07Z","updated_at":"2015-12-08T17:33:42Z","due_on":"2015-12-14T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1343/commits","review_comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1343/comments","review_comment_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1343/comments","statuses_url":"https://api.github.com/repos/geonetwork/core-geonetwork/statuses/edff55e6bdde6c2ae21e4d1076d7824a2f157440","head":{"label":"landryb:fix/1342","ref":"fix/1342","sha":"edff55e6bdde6c2ae21e4d1076d7824a2f157440","user":{"login":"landryb","id":3421760,"avatar_url":"https://avatars.githubusercontent.com/u/3421760?v=3","gravatar_id":"","url":"https://api.github.com/users/landryb","html_url":"https://github.com/landryb","followers_url":"https://api.github.com/users/landryb/followers","following_url":"https://api.github.com/users/landryb/following{/other_user}","gists_url":"https://api.github.com/users/landryb/gists{/gist_id}","starred_url":"https://api.github.com/users/landryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landryb/subscriptions","organizations_url":"https://api.github.com/users/landryb/orgs","repos_url":"https://api.github.com/users/landryb/repos","events_url":"https://api.github.com/users/landryb/events{/privacy}","received_events_url":"https://api.github.com/users/landryb/received_events","type":"User","site_admin":false},"repo":{"id":8925086,"name":"core-geonetwork","full_name":"landryb/core-geonetwork","owner":{"login":"landryb","id":3421760,"avatar_url":"https://avatars.githubusercontent.com/u/3421760?v=3","gravatar_id":"","url":"https://api.github.com/users/landryb","html_url":"https://github.com/landryb","followers_url":"https://api.github.com/users/landryb/followers","following_url":"https://api.github.com/users/landryb/following{/other_user}","gists_url":"https://api.github.com/users/landryb/gists{/gist_id}","starred_url":"https://api.github.com/users/landryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landryb/subscriptions","organizations_url":"https://api.github.com/users/landryb/orgs","repos_url":"https://api.github.com/users/landryb/repos","events_url":"https://api.github.com/users/landryb/events{/privacy}","received_events_url":"https://api.github.com/users/landryb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/landryb/core-geonetwork","description":"","fork":true,"url":"https://api.github.com/repos/landryb/core-geonetwork","forks_url":"https://api.github.com/repos/landryb/core-geonetwork/forks","keys_url":"https://api.github.com/repos/landryb/core-geonetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/landryb/core-geonetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/landryb/core-geonetwork/teams","hooks_url":"https://api.github.com/repos/landryb/core-geonetwork/hooks","issue_events_url":"https://api.github.com/repos/landryb/core-geonetwork/issues/events{/number}","events_url":"https://api.github.com/repos/landryb/core-geonetwork/events","assignees_url":"https://api.github.com/repos/landryb/core-geonetwork/assignees{/user}","branches_url":"https://api.github.com/repos/landryb/core-geonetwork/branches{/branch}","tags_url":"https://api.github.com/repos/landryb/core-geonetwork/tags","blobs_url":"https://api.github.com/repos/landryb/core-geonetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/landryb/core-geonetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/landryb/core-geonetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/landryb/core-geonetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/landryb/core-geonetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/landryb/core-geonetwork/languages","stargazers_url":"https://api.github.com/repos/landryb/core-geonetwork/stargazers","contributors_url":"https://api.github.com/repos/landryb/core-geonetwork/contributors","subscribers_url":"https://api.github.com/repos/landryb/core-geonetwork/subscribers","subscription_url":"https://api.github.com/repos/landryb/core-geonetwork/subscription","commits_url":"https://api.github.com/repos/landryb/core-geonetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/landryb/core-geonetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/landryb/core-geonetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/landryb/core-geonetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/landryb/core-geonetwork/contents/{+path}","compare_url":"https://api.github.com/repos/landryb/core-geonetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/landryb/core-geonetwork/merges","archive_url":"https://api.github.com/repos/landryb/core-geonetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/landryb/core-geonetwork/downloads","issues_url":"https://api.github.com/repos/landryb/core-geonetwork/issues{/number}","pulls_url":"https://api.github.com/repos/landryb/core-geonetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/landryb/core-geonetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/landryb/core-geonetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/landryb/core-geonetwork/labels{/name}","releases_url":"https://api.github.com/repos/landryb/core-geonetwork/releases{/id}","created_at":"2013-03-21T09:13:01Z","updated_at":"2014-04-22T10:20:36Z","pushed_at":"2015-12-08T16:02:04Z","git_url":"git://github.com/landryb/core-geonetwork.git","ssh_url":"git@github.com:landryb/core-geonetwork.git","clone_url":"https://github.com/landryb/core-geonetwork.git","svn_url":"https://github.com/landryb/core-geonetwork","homepage":null,"size":216809,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"develop"}},"base":{"label":"geonetwork:3.0.x","ref":"3.0.x","sha":"712559e51bfd9b730c82f18303678c95e6be219b","user":{"login":"geonetwork","id":1842442,"avatar_url":"https://avatars.githubusercontent.com/u/1842442?v=3","gravatar_id":"","url":"https://api.github.com/users/geonetwork","html_url":"https://github.com/geonetwork","followers_url":"https://api.github.com/users/geonetwork/followers","following_url":"https://api.github.com/users/geonetwork/following{/other_user}","gists_url":"https://api.github.com/users/geonetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/geonetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geonetwork/subscriptions","organizations_url":"https://api.github.com/users/geonetwork/orgs","repos_url":"https://api.github.com/users/geonetwork/repos","events_url":"https://api.github.com/users/geonetwork/events{/privacy}","received_events_url":"https://api.github.com/users/geonetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":4661744,"name":"core-geonetwork","full_name":"geonetwork/core-geonetwork","owner":{"login":"geonetwork","id":1842442,"avatar_url":"https://avatars.githubusercontent.com/u/1842442?v=3","gravatar_id":"","url":"https://api.github.com/users/geonetwork","html_url":"https://github.com/geonetwork","followers_url":"https://api.github.com/users/geonetwork/followers","following_url":"https://api.github.com/users/geonetwork/following{/other_user}","gists_url":"https://api.github.com/users/geonetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/geonetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geonetwork/subscriptions","organizations_url":"https://api.github.com/users/geonetwork/orgs","repos_url":"https://api.github.com/users/geonetwork/repos","events_url":"https://api.github.com/users/geonetwork/events{/privacy}","received_events_url":"https://api.github.com/users/geonetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geonetwork/core-geonetwork","description":"GeoNetwork repository","fork":false,"url":"https://api.github.com/repos/geonetwork/core-geonetwork","forks_url":"https://api.github.com/repos/geonetwork/core-geonetwork/forks","keys_url":"https://api.github.com/repos/geonetwork/core-geonetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geonetwork/core-geonetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geonetwork/core-geonetwork/teams","hooks_url":"https://api.github.com/repos/geonetwork/core-geonetwork/hooks","issue_events_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/events{/number}","events_url":"https://api.github.com/repos/geonetwork/core-geonetwork/events","assignees_url":"https://api.github.com/repos/geonetwork/core-geonetwork/assignees{/user}","branches_url":"https://api.github.com/repos/geonetwork/core-geonetwork/branches{/branch}","tags_url":"https://api.github.com/repos/geonetwork/core-geonetwork/tags","blobs_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geonetwork/core-geonetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/geonetwork/core-geonetwork/languages","stargazers_url":"https://api.github.com/repos/geonetwork/core-geonetwork/stargazers","contributors_url":"https://api.github.com/repos/geonetwork/core-geonetwork/contributors","subscribers_url":"https://api.github.com/repos/geonetwork/core-geonetwork/subscribers","subscription_url":"https://api.github.com/repos/geonetwork/core-geonetwork/subscription","commits_url":"https://api.github.com/repos/geonetwork/core-geonetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/geonetwork/core-geonetwork/contents/{+path}","compare_url":"https://api.github.com/repos/geonetwork/core-geonetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geonetwork/core-geonetwork/merges","archive_url":"https://api.github.com/repos/geonetwork/core-geonetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geonetwork/core-geonetwork/downloads","issues_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues{/number}","pulls_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/geonetwork/core-geonetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/labels{/name}","releases_url":"https://api.github.com/repos/geonetwork/core-geonetwork/releases{/id}","created_at":"2012-06-14T09:59:55Z","updated_at":"2015-11-05T13:32:32Z","pushed_at":"2015-12-08T17:33:42Z","git_url":"git://github.com/geonetwork/core-geonetwork.git","ssh_url":"git@github.com:geonetwork/core-geonetwork.git","clone_url":"https://github.com/geonetwork/core-geonetwork.git","svn_url":"https://github.com/geonetwork/core-geonetwork","homepage":"http://geonetwork-opensource.org/","size":257656,"stargazers_count":97,"watchers_count":97,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":192,"mirror_url":null,"open_issues_count":141,"forks":192,"open_issues":141,"watchers":97,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1343"},"html":{"href":"https://github.com/geonetwork/core-geonetwork/pull/1343"},"issue":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1343"},"comments":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1343/comments"},"review_comments":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1343/comments"},"review_comment":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1343/commits"},"statuses":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/statuses/edff55e6bdde6c2ae21e4d1076d7824a2f157440"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":2,"changed_files":2}}