storage

22 rows


Description

Where the samples are stored

Columns

Column Type Size Nulls Auto Default Children Parents Comments
storage_id serial 10 nextval('storage_storage_id_seq'::regclass)
sample.storage_id storage_sample_fkR

PK. Unique identifier for each storage location. Generated by database.

institution_id int4 10 null
institution.institution_id institution_storage_fkR

FK. ID for the institution where the sample is stored. Links to the institution table.

building varchar 100 null

Building where the sample is stored.

room varchar 50 null

Room where the sample is stored.

cabinet varchar 50 null

Cabinet where the sample is stored.

shelf_drawer varchar 50 null

Shelf or drawer where sample is stored.

timestamp_created timestamptz 35,6 now()
timestamp_modified timestamptz 35,6 now()
contact_person int4 10 null
person.person_id person_contact_personR
storage_notes varchar 1000 null

Indexes

Constraint Name Type Sort Column(s)
storage_id Primary key Asc storage_id

Relationships