Skip to content

Commit

Permalink
change new contents of termofuse field to null
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwinship committed Jun 17, 2024
1 parent 71098cb commit 116262c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ In an earlier Dataverse release, Datasets with only 'CC0 Waiver' in termsofuse f
- The following terms fields must be empty: Confidentiality Declaration, Special Permissions, Restrictions, Citation Requirements, Depositor Requirements, Conditions, and Disclaimer.
- The License ID must not be assigned.

This process will set the License ID to that of the CC0 1.0 license and change the termsofuse field back to 'CC0 Waiver', which will be hidden in the UI do to the License ID being set.
This process will set the License ID to that of the CC0 1.0 license and remove the contents of termsofuse field.
2 changes: 1 addition & 1 deletion src/main/resources/db/migration/V6.2.0.2.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
UPDATE termsofuseandaccess SET license_id = (SELECT license.id FROM license WHERE license.name = 'CC0 1.0'), termsofuse = 'CC0 Waiver'
UPDATE termsofuseandaccess SET license_id = (SELECT license.id FROM license WHERE license.name = 'CC0 1.0'), termsofuse = NULL
WHERE termsofuse = 'This dataset is made available under a Creative Commons CC0 license with the following additional/modified terms and conditions: CC0 Waiver'
AND license_id IS null
AND confidentialitydeclaration IS null
Expand Down

0 comments on commit 116262c

Please sign in to comment.