record_contributors

-1 rows


Description

Table to hold contributors of the datasets

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id serial 10 nextval('record_contributors_id_seq'::regclass)
record_id int4 10 null
records.id record_contributors_record_id_fkeyC
name_entity_id int4 10 null
name_entities.id record_contributors_name_entity_id_fkeyR
contributor_type text 2147483647 null
created_at timestamp 29,6 now()
updated_at timestamp 29,6 now()

Indexes

Constraint Name Type Sort Column(s)
record_contributors_pkey Primary key Asc id
record_contributors_record_id_name_id_key Must be unique Asc/Asc record_id + name_entity_id

Check Constraints

Constraint Name Constraint
record_contributors_contributor_type_check ((contributor_type = ANY (ARRAY['ContactPerson'::text, 'DataCollector'::text, 'DataCurator'::text, 'DataManager'::text, 'Distributor'::text, 'Editor'::text, 'HostingInstitution'::text, 'Producer'::text, 'ProjectLeader'::text, 'ProjectManager'::text, 'ProjectMember'::text, 'RegistrationAgency'::text, 'RegistrationAuthority'::text, 'RelatedPerson'::text, 'Researcher'::text, 'ResearchGroup'::text, 'RightsHolder'::text, 'Sponsor'::text, 'Supervisor'::text, 'WorkPackageLeader'::text, 'Other'::text])))

Relationships