ALTER TABLE misc_feature_function ADD FOREIGN KEY (id) REFERENCES misc_feature(id) ON DELETE CASCADE; ALTER TABLE misc_feature_names ADD FOREIGN KEY (id) REFERENCES misc_feature(id) ON DELETE CASCADE; ALTER TABLE misc_feature_note ADD FOREIGN KEY (id) REFERENCES misc_feature(id) ON DELETE CASCADE;