dhp-schemas/src/main/resources/eu/dnetlib/dhp/schema/sql/eosc_patch.sql

10 lines
420 B
MySQL
Raw Normal View History

2021-07-23 12:06:59 +02:00
-- Table to extend the datasource properties according to the eosc model
CREATE TABLE dsm_datasources_eosc(
id varchar(255) references dsm_datasources(id),
2021-07-26 14:09:29 +02:00
jurisdiction text,
2021-07-23 12:06:59 +02:00
thematic boolean,
knowledge_graph boolean,
content_policies text[],
_dnet_resource_identifier_ varchar(2048) default ((('temp_'::text || md5((clock_timestamp())::text)) || '_'::text) || md5((random())::text))
);