Schema Version: 1.3

biomaterial_relationship


Description

Relate biomaterials to one another. This is a way to track a series of treatments or material splits/merges, for instance.

Columns

Column Type Size Foreign Key Nullable Default Comments
biomaterial_relationship_id bigserial 19
nextval('chado.biomaterial_relationship_biomaterial_relationship_id_seq'::regclass)
subject_id int8 19
biomaterial.biomaterial_id biomaterial_relationship_subject_id_fkey R
null
type_id int8 19
cvterm.cvterm_id biomaterial_relationship_type_id_fkey R
null
object_id int8 19
biomaterial.biomaterial_id biomaterial_relationship_object_id_fkey R
null

Table contained -1 rows

Indexes

Constraint Name Type Sort Column(s)
biomaterial_relationship_pkey Primary key Asc biomaterial_relationship_id
biomaterial_relationship_c1 Must be unique Asc/Asc/Asc subject_id + object_id + type_id
biomaterial_relationship_idx1 Performance Asc subject_id
biomaterial_relationship_idx2 Performance Asc object_id
biomaterial_relationship_idx3 Performance Asc type_id

Relationships