author

1001 rows


Description

Links reference_work to person (authors)

Columns

Column Type Size Nulls Auto Default Children Parents Comments
author_id serial 10 nextval('author_author_id_seq'::regclass)

PK. Unique ID for each author. Generated by the database

person_id int4 10 null
person.person_id person_author_fkR

FK. ID for each author. Links to the person table.

reference_id int4 10 null
reference_work.reference_id reference_work_author_fkR

FK. ID of the reference_work. Links to the reference_work table.

author_position int4 10 null

The position of the author in the author list

timestamp_created timestamptz 35,6 now()
timestamp_modified timestamptz 35,6 now()

Indexes

Constraint Name Type Sort Column(s)
author_id Primary key Asc author_id
author_person_id_idx Performance Asc person_id
author_reference_id_author_id_key Must be unique Asc/Asc reference_id + author_id
author_reference_id_author_position_key Must be unique Asc/Asc reference_id + author_position
author_reference_id_idx Performance Asc reference_id

Relationships