drh_publication

Column Type
publication_id TEXT
publication_title TEXT
digital_object_identifier TEXT
publication_site TEXT
study_id TEXT
tenant_id VARCHAR

SQL DDL

CREATE VIEW drh_publication AS
SELECT
    publication_id, publication_title, digital_object_identifier,
    publication_site, (select
            study_id
        from
            uniform_resource_study
        limit
            1
    ) as study_id,(
        select
            party_id
        from
            party
        limit
            1
    ) as tenant_id
FROM uniform_resource_publication