DROP TRIGGER IF EXISTS delete_house_number_feature_on_feature_deletion ON signals.feature;
DROP TRIGGER IF EXISTS delete_house_number_feature_on_feature_deletion ON signals.assignment_photo;
DROP TRIGGER IF EXISTS delete_house_number_feature_on_feature_deletion ON signals.ride_photo;
DROP TRIGGER IF EXISTS delete_house_number_feature_on_feature_deletion ON signals.walk_photo;
DROP FUNCTION IF EXISTS delete_house_number_feature_on_feature_deletion();

DROP TRIGGER IF EXISTS delete_object_in_photo_on_feature_deletion ON signals.feature;
DROP TRIGGER IF EXISTS delete_object_in_photo_on_feature_deletion ON signals.assignment_photo;
DROP TRIGGER IF EXISTS delete_object_in_photo_on_feature_deletion ON signals.ride_photo;
-- there is no for signals.walk_photo
DROP FUNCTION IF EXISTS delete_object_in_photo_on_feature_deletion();

DROP TRIGGER IF EXISTS delete_sign_feature_on_feature_deletion ON signals.feature;
DROP TRIGGER IF EXISTS delete_sign_feature_on_feature_deletion ON signals.assignment_photo;
DROP TRIGGER IF EXISTS delete_sign_feature_on_feature_deletion ON signals.ride_photo;
DROP TRIGGER IF EXISTS delete_sign_feature_on_feature_deletion ON signals.walk_photo;
DROP FUNCTION IF EXISTS delete_sign_feature_on_feature_deletion();

DROP TRIGGER IF EXISTS delete_traffic_light_feature_on_feature_deletion ON signals.feature;
DROP TRIGGER IF EXISTS delete_traffic_light_feature_on_feature_deletion ON signals.assignment_photo;
DROP TRIGGER IF EXISTS delete_traffic_light_feature_on_feature_deletion ON signals.ride_photo;
DROP TRIGGER IF EXISTS delete_traffic_light_feature_on_feature_deletion ON signals.walk_photo;
DROP FUNCTION IF EXISTS delete_traffic_light_feature_on_feature_deletion();
