Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/api/data/licenses/licenseCC0-1.0.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CC0 1.0",
"uri": "https://creativecommons.org/publicdomain/zero/1.0/",
"uri": "https://creativecommons.org/publicdomain/zero/1.0",
"shortDescription": "Creative Commons CC0 1.0 Universal Public Domain Dedication.",
"iconUrl": "https://licensebuttons.net/p/zero/1.0/88x31.png",
"active": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ BEGIN
EXCEPTION
WHEN undefined_column THEN RAISE NOTICE 'license is not in table - new instance';
END;

-- This section updates the db of those who ran the develop branch and does not make changes for new installs or upgrades from v5.9
BEGIN
UPDATE license SET shortdescription='Creative Commons CC0 1.0 Universal Public Domain Dedication.' WHERE name='CC0';
UPDATE license SET iconurl='https://licensebuttons.net/p/zero/1.0/88x31.png' WHERE name='CC0';
UPDATE license SET name='CC0 1.0' WHERE name='CC0';
END;

END $$;
ALTER TABLE termsofuseandaccess DROP COLUMN IF EXISTS license;