diff --git a/dspace/CHANGES b/dspace/CHANGES index 9405b6a49a..b1901e1427 100644 --- a/dspace/CHANGES +++ b/dspace/CHANGES @@ -9,6 +9,7 @@ (James Rutherford) - Fixed SF bug #1727034 Method MetadataField.unique() is incorrect for null values - Fixed SF bug #1614546 get rid of unused mets_bitstream_id column +- SF Patch #1638569 for SF Bug #1638565 Database Upgrade 12 to 13 missing content on new colums 1.4.2 beta =========== diff --git a/dspace/etc/database_schema_12-13.sql b/dspace/etc/database_schema_12-13.sql index d04e110f99..cdd18feac5 100644 --- a/dspace/etc/database_schema_12-13.sql +++ b/dspace/etc/database_schema_12-13.sql @@ -69,6 +69,10 @@ ALTER TABLE collection ADD admin INTEGER REFERENCES EPersonGroup( eperson_group_ ALTER TABLE eperson ADD netid varchar(64) UNIQUE; +UPDATE collection SET submitter=(SELECT eperson_group_id FROM epersongroup WHERE epersongroup.name = 'COLLECTION_' || collection_id || '_SUBMIT'); + +UPDATE collection SET admin=(SELECT eperson_group_id FROM epersongroup WHERE epersongroup.name = 'COLLECTION_' || collection_id || '_ADMIN'); + ------------------------------------------------------------------------------- -- Additional indices for performance -------------------------------------------------------------------------------