data_source_batch

787 rows


Description

Links analytical batches to data source e.g. SGP, USGS_NGDB, USGS_CMIBS

Columns

Column Type Size Nulls Auto Default Children Parents Comments
data_source_id int4 10 null
data_source.data_source_id data_source_data_source_batch_fkR

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

batch_id int4 10 null
batch.batch_id batch_data_source_batch_fkR

PK/FK. ID for the batch. Links to the batch 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)
data_source_batch_id Primary key Asc/Asc data_source_id + batch_id
data_source_batch_batch_id_idx Performance Asc batch_id
data_source_batch_data_source_id_idx Performance Asc data_source_id

Relationships