batch_sample

281143 rows


Description

Linking table to record which samples were batched together

Columns

Column Type Size Nulls Auto Default Children Parents Comments
batch_id int4 10 null
analyte_determination.batch_id batch_sample_analyte_determination_fkR
batch.batch_id batch_batch_sample_fkR

PK/FK. ID for a batch. Links to the batch table. Part of composite primary key.

sample_id int4 10 null
analyte_determination.sample_id batch_sample_analyte_determination_fkR
sample.sample_id sample_batch_sample_fkR

PK/FK. ID for the sample. Links to the sample table. Part of composite primary key.

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

Indexes

Constraint Name Type Sort Column(s)
batch_sample_id Primary key Asc/Asc batch_id + sample_id
batch_sample_batch_id_idx Performance Asc batch_id
batch_sample_sample_id_idx Performance Asc sample_id

Relationships