Table: managements_treatments
Legend: Primary key columns Indexed columns
Column Type Size Nulls Auto Default References Comments
treatment_id int8 19  χ   χ  treatments.id
management_id int8 19  χ   χ  managements.id
created_at timestamp 29,6  √   χ  utc_now()
updated_at timestamp 29,6  √   χ  utc_now()
id bigserial 19  χ   √  nextval('managements_treatments_id_seq'::regclass)
Indexes:
Column(s) Type Sort Constraint Name
management_id + treatment_id Must be unique Asc/Asc index_managements_treatments_on_management_id_and_treatment_id