ADD CONSTRAINT pk_material_inventory_threshold_notify_user PRIMARY KEY (threshold_id, user_id); ...