patcg db for eosc

This commit is contained in:
Michele Artini 2021-07-23 12:06:59 +02:00
parent 5dc27152e2
commit 152b16ddfa
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
-- Table to extend the datasource properties according to the eosc model
CREATE TABLE dsm_datasources_eosc(
id varchar(255) references dsm_datasources(id),
jurisdiction text[],
thematic boolean,
knowledge_graph boolean,
content_policies text[],
_dnet_resource_identifier_ varchar(2048) default ((('temp_'::text || md5((clock_timestamp())::text)) || '_'::text) || md5((random())::text))
);