{"action":"created","comment":{"url":"https://api.github.com/repos/DSpace/DSpace/pulls/comments/38097880","id":38097880,"diff_hunk":"@@ -193,7 +193,7 @@ ALTER TABLE bundle2bitstream ALTER COLUMN bitstream_id SET NOT NULL;\n ALTER TABLE bundle2bitstream DROP COLUMN bundle_legacy_id;\n ALTER TABLE bundle2bitstream DROP COLUMN bitstream_legacy_id;\n ALTER TABLE bundle2bitstream DROP COLUMN id;\n-ALTER TABLE bundle2bitstream add primary key (bitstream_id,bundle_id);\n+ALTER TABLE bundle2bitstream add primary key (bitstream_id,bundle_id,bitstream_order);","path":"dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/postgres/V6.0_2015.03.07__hibernate_migration.sql","position":5,"original_position":5,"commit_id":"fcac2ce0faec73e7f53eafb2ce238c0411b3d610","original_commit_id":"fcac2ce0faec73e7f53eafb2ce238c0411b3d610","user":{"login":"tdonohue","id":483997,"avatar_url":"https://avatars.githubusercontent.com/u/483997?v=3","gravatar_id":"","url":"https://api.github.com/users/tdonohue","html_url":"https://github.com/tdonohue","followers_url":"https://api.github.com/users/tdonohue/followers","following_url":"https://api.github.com/users/tdonohue/following{/other_user}","gists_url":"https://api.github.com/users/tdonohue/gists{/gist_id}","starred_url":"https://api.github.com/users/tdonohue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdonohue/subscriptions","organizations_url":"https://api.github.com/users/tdonohue/orgs","repos_url":"https://api.github.com/users/tdonohue/repos","events_url":"https://api.github.com/users/tdonohue/events{/privacy}","received_events_url":"https://api.github.com/users/tdonohue/received_events","type":"User","site_admin":false},"body":"Just a note really, but making this change in an old migration will mean that we'll need developers (Committers really) to start with a \"fresh\" database and re-run this migration.\r\n\r\nIt's not a big deal since it'll only affect a handful of us. But, once this is merged, we'll want to inform everyone to drop their existing pre-6.0 databases and start fresh again.","created_at":"2015-08-27T14:01:48Z","updated_at":"2015-08-27T14:01:48Z","html_url":"https://github.com/DSpace/DSpace/pull/1035#discussion_r38097880","pull_request_url":"https://api.github.com/repos/DSpace/DSpace/pulls/1035","_links":{"self":{"href":"https://api.github.com/repos/DSpace/DSpace/pulls/comments/38097880"},"html":{"href":"https://github.com/DSpace/DSpace/pull/1035#discussion_r38097880"},"pull_request":{"href":"https://api.github.com/repos/DSpace/DSpace/pulls/1035"}}},"pull_request":{"url":"https://api.github.com/repos/DSpace/DSpace/pulls/1035","id":43503419,"html_url":"https://github.com/DSpace/DSpace/pull/1035","diff_url":"https://github.com/DSpace/DSpace/pull/1035.diff","patch_url":"https://github.com/DSpace/DSpace/pull/1035.patch","issue_url":"https://api.github.com/repos/DSpace/DSpace/issues/1035","number":1035,"state":"open","locked":false,"title":"[DS-2728] Remove the BundleBitstream object & replace by JPA mapping","user":{"login":"KevinVdV","id":1479750,"avatar_url":"https://avatars.githubusercontent.com/u/1479750?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinVdV","html_url":"https://github.com/KevinVdV","followers_url":"https://api.github.com/users/KevinVdV/followers","following_url":"https://api.github.com/users/KevinVdV/following{/other_user}","gists_url":"https://api.github.com/users/KevinVdV/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinVdV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinVdV/subscriptions","organizations_url":"https://api.github.com/users/KevinVdV/orgs","repos_url":"https://api.github.com/users/KevinVdV/repos","events_url":"https://api.github.com/users/KevinVdV/events{/privacy}","received_events_url":"https://api.github.com/users/KevinVdV/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-27T10:52:58Z","updated_at":"2015-08-27T14:01:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c4244d250868d1f11484a32efb2d611f713b418","assignee":null,"milestone":{"url":"https://api.github.com/repos/DSpace/DSpace/milestones/9","html_url":"https://github.com/DSpace/DSpace/milestones/6.0","labels_url":"https://api.github.com/repos/DSpace/DSpace/milestones/9/labels","id":942273,"number":9,"title":"6.0","description":null,"creator":{"login":"helix84","id":201026,"avatar_url":"https://avatars.githubusercontent.com/u/201026?v=3","gravatar_id":"","url":"https://api.github.com/users/helix84","html_url":"https://github.com/helix84","followers_url":"https://api.github.com/users/helix84/followers","following_url":"https://api.github.com/users/helix84/following{/other_user}","gists_url":"https://api.github.com/users/helix84/gists{/gist_id}","starred_url":"https://api.github.com/users/helix84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helix84/subscriptions","organizations_url":"https://api.github.com/users/helix84/orgs","repos_url":"https://api.github.com/users/helix84/repos","events_url":"https://api.github.com/users/helix84/events{/privacy}","received_events_url":"https://api.github.com/users/helix84/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":16,"state":"open","created_at":"2015-01-19T18:03:38Z","updated_at":"2015-08-27T13:47:39Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/DSpace/DSpace/pulls/1035/commits","review_comments_url":"https://api.github.com/repos/DSpace/DSpace/pulls/1035/comments","review_comment_url":"https://api.github.com/repos/DSpace/DSpace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DSpace/DSpace/issues/1035/comments","statuses_url":"https://api.github.com/repos/DSpace/DSpace/statuses/fcac2ce0faec73e7f53eafb2ce238c0411b3d610","head":{"label":"KevinVdV:DS-2728-remove-bundle-bitstream-object","ref":"DS-2728-remove-bundle-bitstream-object","sha":"fcac2ce0faec73e7f53eafb2ce238c0411b3d610","user":{"login":"KevinVdV","id":1479750,"avatar_url":"https://avatars.githubusercontent.com/u/1479750?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinVdV","html_url":"https://github.com/KevinVdV","followers_url":"https://api.github.com/users/KevinVdV/followers","following_url":"https://api.github.com/users/KevinVdV/following{/other_user}","gists_url":"https://api.github.com/users/KevinVdV/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinVdV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinVdV/subscriptions","organizations_url":"https://api.github.com/users/KevinVdV/orgs","repos_url":"https://api.github.com/users/KevinVdV/repos","events_url":"https://api.github.com/users/KevinVdV/events{/privacy}","received_events_url":"https://api.github.com/users/KevinVdV/received_events","type":"User","site_admin":false},"repo":{"id":4301738,"name":"DSpace","full_name":"KevinVdV/DSpace","owner":{"login":"KevinVdV","id":1479750,"avatar_url":"https://avatars.githubusercontent.com/u/1479750?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinVdV","html_url":"https://github.com/KevinVdV","followers_url":"https://api.github.com/users/KevinVdV/followers","following_url":"https://api.github.com/users/KevinVdV/following{/other_user}","gists_url":"https://api.github.com/users/KevinVdV/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinVdV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinVdV/subscriptions","organizations_url":"https://api.github.com/users/KevinVdV/orgs","repos_url":"https://api.github.com/users/KevinVdV/repos","events_url":"https://api.github.com/users/KevinVdV/events{/privacy}","received_events_url":"https://api.github.com/users/KevinVdV/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KevinVdV/DSpace","description":"(Official) The DSpace digital asset management system that powers your Institutional Repository","fork":true,"url":"https://api.github.com/repos/KevinVdV/DSpace","forks_url":"https://api.github.com/repos/KevinVdV/DSpace/forks","keys_url":"https://api.github.com/repos/KevinVdV/DSpace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KevinVdV/DSpace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KevinVdV/DSpace/teams","hooks_url":"https://api.github.com/repos/KevinVdV/DSpace/hooks","issue_events_url":"https://api.github.com/repos/KevinVdV/DSpace/issues/events{/number}","events_url":"https://api.github.com/repos/KevinVdV/DSpace/events","assignees_url":"https://api.github.com/repos/KevinVdV/DSpace/assignees{/user}","branches_url":"https://api.github.com/repos/KevinVdV/DSpace/branches{/branch}","tags_url":"https://api.github.com/repos/KevinVdV/DSpace/tags","blobs_url":"https://api.github.com/repos/KevinVdV/DSpace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KevinVdV/DSpace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KevinVdV/DSpace/git/refs{/sha}","trees_url":"https://api.github.com/repos/KevinVdV/DSpace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KevinVdV/DSpace/statuses/{sha}","languages_url":"https://api.github.com/repos/KevinVdV/DSpace/languages","stargazers_url":"https://api.github.com/repos/KevinVdV/DSpace/stargazers","contributors_url":"https://api.github.com/repos/KevinVdV/DSpace/contributors","subscribers_url":"https://api.github.com/repos/KevinVdV/DSpace/subscribers","subscription_url":"https://api.github.com/repos/KevinVdV/DSpace/subscription","commits_url":"https://api.github.com/repos/KevinVdV/DSpace/commits{/sha}","git_commits_url":"https://api.github.com/repos/KevinVdV/DSpace/git/commits{/sha}","comments_url":"https://api.github.com/repos/KevinVdV/DSpace/comments{/number}","issue_comment_url":"https://api.github.com/repos/KevinVdV/DSpace/issues/comments{/number}","contents_url":"https://api.github.com/repos/KevinVdV/DSpace/contents/{+path}","compare_url":"https://api.github.com/repos/KevinVdV/DSpace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KevinVdV/DSpace/merges","archive_url":"https://api.github.com/repos/KevinVdV/DSpace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KevinVdV/DSpace/downloads","issues_url":"https://api.github.com/repos/KevinVdV/DSpace/issues{/number}","pulls_url":"https://api.github.com/repos/KevinVdV/DSpace/pulls{/number}","milestones_url":"https://api.github.com/repos/KevinVdV/DSpace/milestones{/number}","notifications_url":"https://api.github.com/repos/KevinVdV/DSpace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KevinVdV/DSpace/labels{/name}","releases_url":"https://api.github.com/repos/KevinVdV/DSpace/releases{/id}","created_at":"2012-05-11T21:08:01Z","updated_at":"2015-01-13T13:40:39Z","pushed_at":"2015-08-27T13:53:56Z","git_url":"git://github.com/KevinVdV/DSpace.git","ssh_url":"git@github.com:KevinVdV/DSpace.git","clone_url":"https://github.com/KevinVdV/DSpace.git","svn_url":"https://github.com/KevinVdV/DSpace","homepage":"https://wiki.duraspace.org/display/DSDOC18/Introduction","size":115583,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"DSpace:DS-2701-service-api","ref":"DS-2701-service-api","sha":"fbca4716a48e36076c1da7e04e1ab8bba24afcbe","user":{"login":"DSpace","id":428620,"avatar_url":"https://avatars.githubusercontent.com/u/428620?v=3","gravatar_id":"","url":"https://api.github.com/users/DSpace","html_url":"https://github.com/DSpace","followers_url":"https://api.github.com/users/DSpace/followers","following_url":"https://api.github.com/users/DSpace/following{/other_user}","gists_url":"https://api.github.com/users/DSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/DSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DSpace/subscriptions","organizations_url":"https://api.github.com/users/DSpace/orgs","repos_url":"https://api.github.com/users/DSpace/repos","events_url":"https://api.github.com/users/DSpace/events{/privacy}","received_events_url":"https://api.github.com/users/DSpace/received_events","type":"Organization","site_admin":false},"repo":{"id":3743376,"name":"DSpace","full_name":"DSpace/DSpace","owner":{"login":"DSpace","id":428620,"avatar_url":"https://avatars.githubusercontent.com/u/428620?v=3","gravatar_id":"","url":"https://api.github.com/users/DSpace","html_url":"https://github.com/DSpace","followers_url":"https://api.github.com/users/DSpace/followers","following_url":"https://api.github.com/users/DSpace/following{/other_user}","gists_url":"https://api.github.com/users/DSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/DSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DSpace/subscriptions","organizations_url":"https://api.github.com/users/DSpace/orgs","repos_url":"https://api.github.com/users/DSpace/repos","events_url":"https://api.github.com/users/DSpace/events{/privacy}","received_events_url":"https://api.github.com/users/DSpace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DSpace/DSpace","description":"(Official) The DSpace digital asset management system that powers your Institutional Repository","fork":false,"url":"https://api.github.com/repos/DSpace/DSpace","forks_url":"https://api.github.com/repos/DSpace/DSpace/forks","keys_url":"https://api.github.com/repos/DSpace/DSpace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DSpace/DSpace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DSpace/DSpace/teams","hooks_url":"https://api.github.com/repos/DSpace/DSpace/hooks","issue_events_url":"https://api.github.com/repos/DSpace/DSpace/issues/events{/number}","events_url":"https://api.github.com/repos/DSpace/DSpace/events","assignees_url":"https://api.github.com/repos/DSpace/DSpace/assignees{/user}","branches_url":"https://api.github.com/repos/DSpace/DSpace/branches{/branch}","tags_url":"https://api.github.com/repos/DSpace/DSpace/tags","blobs_url":"https://api.github.com/repos/DSpace/DSpace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DSpace/DSpace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DSpace/DSpace/git/refs{/sha}","trees_url":"https://api.github.com/repos/DSpace/DSpace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DSpace/DSpace/statuses/{sha}","languages_url":"https://api.github.com/repos/DSpace/DSpace/languages","stargazers_url":"https://api.github.com/repos/DSpace/DSpace/stargazers","contributors_url":"https://api.github.com/repos/DSpace/DSpace/contributors","subscribers_url":"https://api.github.com/repos/DSpace/DSpace/subscribers","subscription_url":"https://api.github.com/repos/DSpace/DSpace/subscription","commits_url":"https://api.github.com/repos/DSpace/DSpace/commits{/sha}","git_commits_url":"https://api.github.com/repos/DSpace/DSpace/git/commits{/sha}","comments_url":"https://api.github.com/repos/DSpace/DSpace/comments{/number}","issue_comment_url":"https://api.github.com/repos/DSpace/DSpace/issues/comments{/number}","contents_url":"https://api.github.com/repos/DSpace/DSpace/contents/{+path}","compare_url":"https://api.github.com/repos/DSpace/DSpace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DSpace/DSpace/merges","archive_url":"https://api.github.com/repos/DSpace/DSpace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DSpace/DSpace/downloads","issues_url":"https://api.github.com/repos/DSpace/DSpace/issues{/number}","pulls_url":"https://api.github.com/repos/DSpace/DSpace/pulls{/number}","milestones_url":"https://api.github.com/repos/DSpace/DSpace/milestones{/number}","notifications_url":"https://api.github.com/repos/DSpace/DSpace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DSpace/DSpace/labels{/name}","releases_url":"https://api.github.com/repos/DSpace/DSpace/releases{/id}","created_at":"2012-03-16T21:44:52Z","updated_at":"2015-08-22T06:04:26Z","pushed_at":"2015-08-27T13:53:57Z","git_url":"git://github.com/DSpace/DSpace.git","ssh_url":"git@github.com:DSpace/DSpace.git","clone_url":"https://github.com/DSpace/DSpace.git","svn_url":"https://github.com/DSpace/DSpace","homepage":"https://wiki.duraspace.org/display/DSDOC5x/Introduction","size":212888,"stargazers_count":173,"watchers_count":173,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":423,"mirror_url":null,"open_issues_count":125,"forks":423,"open_issues":125,"watchers":173,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DSpace/DSpace/pulls/1035"},"html":{"href":"https://github.com/DSpace/DSpace/pull/1035"},"issue":{"href":"https://api.github.com/repos/DSpace/DSpace/issues/1035"},"comments":{"href":"https://api.github.com/repos/DSpace/DSpace/issues/1035/comments"},"review_comments":{"href":"https://api.github.com/repos/DSpace/DSpace/pulls/1035/comments"},"review_comment":{"href":"https://api.github.com/repos/DSpace/DSpace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DSpace/DSpace/pulls/1035/commits"},"statuses":{"href":"https://api.github.com/repos/DSpace/DSpace/statuses/fcac2ce0faec73e7f53eafb2ce238c0411b3d610"}}}}