DROP TRIGGER IF EXISTS render_snapshot_changed ON module_prefix_snapshot; DROP TRIGGER IF EXISTS render_speaker_changed ON bgp_speaker; DROP TRIGGER IF EXISTS render_settings_changed ON global_settings; DROP TRIGGER IF EXISTS render_community_changed ON bgp_community; DROP TRIGGER IF EXISTS render_peer_changed ON bgp_peer; DROP TRIGGER IF EXISTS render_module_doh_changed ON module_doh_profile; DROP TRIGGER IF EXISTS render_doh_profile_changed ON doh_profile; DROP TRIGGER IF EXISTS render_ip_range_entry_changed ON module_ip_range_entry; DROP TRIGGER IF EXISTS render_domain_entry_changed ON module_domain_entry; DROP TRIGGER IF EXISTS render_as_entry_changed ON module_as_entry; DROP TRIGGER IF EXISTS render_cdn_source_changed ON module_cdn_source; DROP TRIGGER IF EXISTS render_module_changed ON module; DROP TRIGGER IF EXISTS module_snapshot_version ON module_prefix_snapshot; DROP TRIGGER IF EXISTS tenant_render_created ON tenant; DROP FUNCTION IF EXISTS render_snapshot_version(); DROP FUNCTION IF EXISTS render_semantic_change(); DROP FUNCTION IF EXISTS render_tenant_created(); DROP FUNCTION IF EXISTS render_bump_module_generation(UUID); DROP FUNCTION IF EXISTS render_bump_tenant_generation(UUID); DROP TABLE IF EXISTS render_revision_manifest; ALTER TABLE module_prefix_snapshot DROP COLUMN IF EXISTS snapshot_version; DROP SEQUENCE IF EXISTS module_snapshot_version_seq; DROP TABLE IF EXISTS tenant_render_generation;