SQL scripts for updating "Reference" on Funder, Grant and Project to now use the "dmp:" prefix and their unique id as part of it.
This commit is contained in:
parent
009bd68f71
commit
bf5526103a
|
@ -0,0 +1,11 @@
|
||||||
|
UPDATE "Funder"
|
||||||
|
SET "Reference" = CONCAT('dmp:', "ID")
|
||||||
|
WHERE "Reference" LIKE 'dmp:%';
|
||||||
|
|
||||||
|
UPDATE "Grant"
|
||||||
|
SET "Reference" = CONCAT('dmp:', "ID")
|
||||||
|
WHERE "Reference" LIKE 'dmp:%';
|
||||||
|
|
||||||
|
UPDATE "Project"
|
||||||
|
SET "Reference" = CONCAT('dmp:', "ID")
|
||||||
|
WHERE "Reference" LIKE 'dmp:%';
|
Loading…
Reference in New Issue