text: ALTER TABLE address_assignment RENAME CONSTRAINT addr_assign_id_nn TO address_assignment_id_nn;
  ALTER TABLE address_assignment RENAME CONSTRAINT addr_assign_cr_date_nn TO address_assignment_cr_date_nn;
  ALTER TABLE address_assignment RENAME CONSTRAINT addr_assign_interface_id_nn TO address_assignment_iface_id_nn;
  ALTER TABLE address_assignment RENAME CONSTRAINT addr_assign_ip_nn TO address_assignment_ip_nn;
  ALTER TABLE address_assignment RENAME CONSTRAINT addr_assign_label_nn TO address_assignment_label_nn;
  ALTER TABLE archetype RENAME CONSTRAINT archetype_cr_date_nn TO archetype_creation_date_nn;
  ALTER TABLE branch RENAME CONSTRAINT branch_cr_date_nn TO branch_creation_date_nn;
  ALTER TABLE chassis RENAME CONSTRAINT chassis_hw_ent_id_nn TO chassis_hardware_entity_id_nn;
  ALTER TABLE clstr RENAME CONSTRAINT clstr_prsnlty_id_nn TO clstr_personality_id_nn;
  ALTER TABLE clstr RENAME CONSTRAINT clstr_clstr_typ_nn TO clstr_cluster_type_nn;
  ALTER TABLE clstr RENAME CONSTRAINT clstr_cr_date_nn TO clstr_creation_date_nn;
  ALTER TABLE clstr_allow_per RENAME CONSTRAINT clstr_allow_per_prsnlty_id_nn TO clstr_allow_per_pers_id_nn;
  ALTER TABLE cpu RENAME CONSTRAINT cpu_cr_date_nn TO cpu_creation_date_nn;
  ALTER TABLE disk RENAME CONSTRAINT disk_cr_date_nn TO disk_creation_date_nn;
  ALTER TABLE disk RENAME CONSTRAINT disk_cntrlr_type_nn TO disk_controller_type_nn;
  ALTER TABLE dns_domain RENAME CONSTRAINT dns_domain_cr_date_nn TO dns_domain_creation_date_nn;
  ALTER TABLE dns_map RENAME CONSTRAINT dns_map_cr_date_nn TO dns_map_creation_date_nn;
  ALTER TABLE dns_record RENAME CONSTRAINT dns_record_cr_date_nn TO dns_record_creation_date_nn;
  ALTER TABLE esx_cluster RENAME CONSTRAINT esx_clstr_esx_clstr_id_nn TO esx_cluster_esx_cluster_id_nn;
  ALTER TABLE feature RENAME CONSTRAINT feature_cr_date_nn TO feature_creation_date_nn;
  ALTER TABLE feature_link RENAME CONSTRAINT feature_link_cr_date_nn TO feature_link_creation_date_nn;
  ALTER TABLE fqdn RENAME CONSTRAINT fqdn_dns_env_id_nn TO fqdn_dns_environment_id_nn;
  ALTER TABLE fqdn RENAME CONSTRAINT fqdn_cr_date_nn TO fqdn_creation_date_nn;
  ALTER TABLE grn RENAME CONSTRAINT grn_cr_date_nn TO grn_creation_date_nn;
  ALTER TABLE hardware_entity RENAME CONSTRAINT hw_ent_id_nn TO hardware_entity_id_nn;
  ALTER TABLE hardware_entity RENAME CONSTRAINT hw_ent_cr_date_nn TO hardware_entity_cr_date_nn;
  ALTER TABLE hardware_entity RENAME CONSTRAINT hw_ent_label_nn TO hardware_entity_label_nn;
  ALTER TABLE hardware_entity RENAME CONSTRAINT hw_ent_location_id_nn TO hardware_entity_location_id_nn;
  ALTER TABLE hardware_entity RENAME CONSTRAINT hw_ent_model_id_nn TO hardware_entity_model_id_nn;
  ALTER TABLE host RENAME CONSTRAINT host_hw_ent_id_nn TO host_hardware_entity_id_nn;
  ALTER TABLE host RENAME CONSTRAINT host_prsnlty_id_nn TO host_personality_id_nn;
  ALTER TABLE host RENAME CONSTRAINT host_cr_date_nn TO host_creation_date_nn;
  ALTER TABLE host_cluster_member RENAME CONSTRAINT host_clstr_mmbr_host_id_nn TO host_cluster_member_host_id_nn;
  ALTER TABLE hostlifecycle RENAME CONSTRAINT hostlifecycle_cr_date_nn TO hostlifecycle_creation_date_nn;
  ALTER TABLE interface RENAME CONSTRAINT iface_id_nn TO interface_id_nn;
  ALTER TABLE interface RENAME CONSTRAINT iface_bootable_nn TO interface_bootable_nn;
  ALTER TABLE interface RENAME CONSTRAINT iface_cr_date_nn TO interface_creation_date_nn;
  ALTER TABLE interface RENAME CONSTRAINT iface_default_route_nn TO interface_default_route_nn;
  ALTER TABLE interface RENAME CONSTRAINT iface_hw_ent_id_nn TO interface_hw_ent_id_nn;
  ALTER TABLE interface RENAME CONSTRAINT iface_interface_type_nn TO interface_interface_type_nn;
  ALTER TABLE interface RENAME CONSTRAINT iface_model_id_nn TO interface_model_id_nn;
  ALTER TABLE interface RENAME CONSTRAINT iface_name_nn TO interface_name_nn;
  ALTER TABLE location RENAME CONSTRAINT location_cr_date_nn TO location_creation_date_nn;
  ALTER TABLE machine_specs RENAME CONSTRAINT mchn_specs_id_nn TO machine_specs_id_nn;
  ALTER TABLE machine_specs RENAME CONSTRAINT mchn_specs_cntrlr_type_nn TO machine_specs_ctrl_type_nn;
  ALTER TABLE machine_specs RENAME CONSTRAINT mchn_specs_cpu_id_nn TO machine_specs_cpu_id_nn;
  ALTER TABLE machine_specs RENAME CONSTRAINT mchn_specs_cpu_quantity_nn TO machine_specs_cpu_quantity_nn;
  ALTER TABLE machine_specs RENAME CONSTRAINT mchn_specs_cr_date_nn TO machine_specs_creation_date_nn;
  ALTER TABLE machine_specs RENAME CONSTRAINT mchn_specs_disk_capacity_nn TO machine_specs_disk_capacity_nn;
  ALTER TABLE machine_specs RENAME CONSTRAINT mchn_specs_disk_type_nn TO machine_specs_disk_type_nn;
  ALTER TABLE machine_specs RENAME CONSTRAINT mchn_specs_memory_nn TO machine_specs_memory_nn;
  ALTER TABLE machine_specs RENAME CONSTRAINT mchn_specs_model_id_nn TO machine_specs_model_id_nn;
  ALTER TABLE machine_specs RENAME CONSTRAINT mchn_specs_nic_count_nn TO machine_specs_nic_count_nn;
  ALTER TABLE machine_specs RENAME CONSTRAINT mchn_specs_nic_model_id_nn TO machine_specs_nic_model_id_nn;
  ALTER TABLE model RENAME CONSTRAINT model_cr_date_nn TO model_creation_date_nn;
  ALTER TABLE metacluster_member RENAME CONSTRAINT mtaclstr_mbr_mtaclstr_id_nn TO mtaclstr_mbr_metacluster_id_nn;
  ALTER TABLE metacluster_member RENAME CONSTRAINT mtaclstr_mbr_cr_date_nn TO metacluster_member_cr_date_nn;
  ALTER TABLE network RENAME CONSTRAINT network_cr_date_nn TO network_creation_date_nn;
  ALTER TABLE network_environment RENAME CONSTRAINT net_env_id_nn TO network_environment_id_nn;
  ALTER TABLE network_environment RENAME CONSTRAINT net_env_cr_date_nn TO network_environment_cr_date_nn;
  ALTER TABLE network_environment RENAME CONSTRAINT net_env_dns_env_id_nn TO net_env_dns_environment_id_nn;
  ALTER TABLE network_environment RENAME CONSTRAINT net_env_name_nn TO network_environment_name_nn;
  ALTER TABLE ns_record RENAME CONSTRAINT ns_record_cr_date_nn TO ns_record_creation_date_nn;
  ALTER TABLE observed_mac RENAME CONSTRAINT observed_mac_cr_date_nn TO observed_mac_creation_date_nn;
  ALTER TABLE operating_system RENAME CONSTRAINT os_id_nn TO operating_system_id_nn;
  ALTER TABLE operating_system RENAME CONSTRAINT os_cr_date_nn TO operating_system_cr_date_nn;
  ALTER TABLE operating_system RENAME CONSTRAINT os_name_nn TO operating_system_name_nn;
  ALTER TABLE operating_system RENAME CONSTRAINT os_version_nn TO operating_system_version_nn;
  ALTER TABLE operating_system RENAME CONSTRAINT os_archetype_id_nn TO operating_system_arch_id_nn;
  ALTER TABLE parameter RENAME CONSTRAINT parameter_cr_date_nn TO parameter_creation_date_nn;
  ALTER TABLE param_holder RENAME CONSTRAINT param_holder_cr_date_nn TO param_holder_creation_date_nn;
  ALTER TABLE personality RENAME CONSTRAINT personality_cr_date_nn TO personality_creation_date_nn;
  ALTER TABLE personality_cluster_info RENAME CONSTRAINT pers_clstr_id_nn TO personality_cluster_info_id_nn;
  ALTER TABLE personality_cluster_info RENAME CONSTRAINT pers_clstr_prsnlty_id_nn TO pers_clstr_personality_id_nn;
  ALTER TABLE personality_cluster_info RENAME CONSTRAINT pers_clstr_clstr_typ_nn TO pers_clstr_cluster_type_nn;
  ALTER TABLE personality_cluster_info RENAME CONSTRAINT pers_clstr_cr_date_nn TO pers_clstr_creation_date_nn;
  ALTER TABLE personality_esx_cluster_info RENAME CONSTRAINT pers_esxclstr_pers_clstrid_nn TO pers_esxclstr_pers_clstr_id_nn;
  ALTER TABLE personality_grn_map RENAME CONSTRAINT pers_grn_map_prsnlty_id_nn TO personality_grn_map_pers_id_nn;
  ALTER TABLE personality_grn_map RENAME CONSTRAINT pers_grn_map_eon_id_nn TO personality_grn_map_eon_id_nn;
  ALTER TABLE personality_grn_map RENAME CONSTRAINT pers_grn_map_target_nn TO personality_grn_map_target_nn;
  ALTER TABLE personality_rootnetgroup RENAME CONSTRAINT pers_root_ng_prsnlty_id_nn TO pers_rootng_personality_id_nn;
  ALTER TABLE personality_rootnetgroup RENAME CONSTRAINT pers_root_ng_cr_date_nn TO pers_rootng_creation_date_nn;
  ALTER TABLE personality_rootnetgroup RENAME CONSTRAINT pers_root_ng_netgroup_id_nn TO pers_rootng_netgroup_id_nn;
  ALTER TABLE personality_rootuser RENAME CONSTRAINT pers_root_user_prsnlty_id_nn TO pers_rootuser_pers_id_nn;
  ALTER TABLE personality_rootuser RENAME CONSTRAINT pers_root_user_cr_date_nn TO pers_rootuser_creation_date_nn;
  ALTER TABLE personality_rootuser RENAME CONSTRAINT pers_root_user_user_id_nn TO pers_rootuser_user_id_nn;
  ALTER TABLE personality_service_list_item RENAME CONSTRAINT prsnlty_sli_svc_id_nn TO psli_service_id_nn;
  ALTER TABLE personality_service_list_item RENAME CONSTRAINT prsnlty_sli_prsnlty_id_nn TO psli_personality_id_nn;
  ALTER TABLE personality_service_map RENAME CONSTRAINT prsnlty_svc_map_id_nn TO personality_service_map_id_nn;
  ALTER TABLE personality_service_map RENAME CONSTRAINT prsnlty_svc_map_cr_date_nn TO pers_svc_map_creation_date_nn;
  ALTER TABLE personality_service_map RENAME CONSTRAINT prsnlty_svc_map_prsnlty_id_nn TO pers_svc_map_personality_id_nn;
  ALTER TABLE personality_service_map RENAME CONSTRAINT prsnlty_svc_map_svc_inst_id_nn TO pers_svc_map_svc_inst_id_nn;
  ALTER TABLE port_group RENAME CONSTRAINT port_group_cr_date_nn TO port_group_creation_date_nn;
  ALTER TABLE realm RENAME CONSTRAINT realm_cr_date_nn TO realm_creation_date_nn;
  ALTER TABLE "resource" RENAME CONSTRAINT "resource_ID_NN" TO resource_id_nn;
  ALTER TABLE "resource" RENAME CONSTRAINT "resource_CR_DATE_NN" TO resource_creation_date_nn;
  ALTER TABLE "resource" RENAME CONSTRAINT "resource_HOLDER_ID_NN" TO resource_holder_id_nn;
  ALTER TABLE "resource" RENAME CONSTRAINT "resource_NAME_NN" TO resource_name_nn;
  ALTER TABLE "resource" RENAME CONSTRAINT "resource_RESOURCE_TYPE_NN" TO resource_resource_type_nn;
  ALTER TABLE role RENAME CONSTRAINT role_cr_date_nn TO role_creation_date_nn;
  ALTER TABLE service RENAME CONSTRAINT service_cr_date_nn TO service_creation_date_nn;
  ALTER TABLE service_address RENAME CONSTRAINT srv_addr_resource_id_nn TO service_address_resource_id_nn;
  ALTER TABLE service_address RENAME CONSTRAINT srv_addr_dns_record_id_nn TO service_address_dnsrec_id_nn;
  ALTER TABLE service_instance RENAME CONSTRAINT svc_inst_id_nn TO service_instance_id_nn;
  ALTER TABLE service_instance RENAME CONSTRAINT svc_inst_cr_date_nn TO service_instance_cr_date_nn;
  ALTER TABLE service_instance RENAME CONSTRAINT svc_inst_name_nn TO service_instance_name_nn;
  ALTER TABLE service_instance RENAME CONSTRAINT svc_inst_svc_id_nn TO service_instance_service_id_nn;
  ALTER TABLE service_instance_server RENAME CONSTRAINT sis_svc_inst_id_nn TO sis_service_instance_id_nn;
  ALTER TABLE service_instance_server RENAME CONSTRAINT sis_id_nn TO service_instance_server_id_nn;
  ALTER TABLE service_instance_server RENAME CONSTRAINT sis_cr_date_nn TO sis_creation_date_nn;
  ALTER TABLE service_list_item RENAME CONSTRAINT svc_li_svc_id_nn TO service_list_item_svc_id_nn;
  ALTER TABLE service_list_item RENAME CONSTRAINT svc_li_archetype_id_nn TO service_list_item_arch_id_nn;
  ALTER TABLE service_map RENAME CONSTRAINT svc_map_id_nn TO service_map_id_nn;
  ALTER TABLE service_map RENAME CONSTRAINT svc_map_cr_date_nn TO service_map_cr_date_nn;
  ALTER TABLE service_map RENAME CONSTRAINT svc_map_svc_inst_id_nn TO service_map_svc_inst_id_nn;
  ALTER TABLE service_map RENAME CONSTRAINT service_map_cr_date_nn TO service_map_creation_date_nn;
  ALTER TABLE "share" RENAME CONSTRAINT "share_ID_NN" TO share_id_nn;
  ALTER TABLE static_route RENAME CONSTRAINT static_route_cr_date_nn TO static_route_creation_date_nn;
  ALTER TABLE userinfo RENAME CONSTRAINT userinfo_cr_date_nn TO userinfo_creation_date_nn;
  ALTER TABLE vendor RENAME CONSTRAINT vendor_cr_date_nn TO vendor_creation_date_nn;
  
  ALTER TABLE personality_cluster_info RENAME CONSTRAINT pers_clst_info_pk TO personality_cluster_info_pk;
  ALTER INDEX pers_clst_info_pk RENAME TO personality_cluster_info_pk;
  ALTER TABLE personality_esx_cluster_info RENAME CONSTRAINT pers_esxcl_info_pk TO pers_esxclstr_pk;
  ALTER INDEX pers_esxcl_info_pk RENAME TO pers_esxclstr_pk;
  ALTER TABLE personality_service_list_item RENAME CONSTRAINT prsnlty_sli_pk TO psli_pk;
  ALTER INDEX prsnlty_sli_pk RENAME TO psli_pk;
  ALTER TABLE xtn_detail RENAME CONSTRAINT xtn_dtl_pk TO xtn_detail_pk;
  ALTER INDEX xtn_dtl_pk RENAME TO xtn_detail_pk;
  
  ALTER TABLE a_record RENAME CONSTRAINT a_record_reverse_fk TO a_record_reverse_ptr_fk;
  ALTER TABLE address_assignment RENAME CONSTRAINT addr_assign_dns_env_fk TO address_assignment_dns_env_fk;
  ALTER TABLE address_assignment RENAME CONSTRAINT addr_assign_interface_id_fk TO address_assignment_iface_fk;
  ALTER TABLE address_assignment RENAME CONSTRAINT addr_assign_srv_addr_id TO address_assignment_srv_addr_fk;
  ALTER TABLE application RENAME CONSTRAINT app_resource_fk TO application_resource_fk;
  ALTER TABLE branch RENAME CONSTRAINT branch_user_princ_fk TO branch_user_principal_fk;
  ALTER TABLE building RENAME CONSTRAINT building_loc_fk TO building_location_fk;
  ALTER TABLE build_item RENAME CONSTRAINT build_item_svc_inst_fk TO build_item_service_instance_fk;
  ALTER TABLE bunker RENAME CONSTRAINT bunker_loc_fk TO bunker_location_fk;
  ALTER TABLE campus RENAME CONSTRAINT campus_loc_fk TO campus_location_fk;
  ALTER TABLE chassis RENAME CONSTRAINT chassis_hw_ent_fk TO chassis_hardware_entity_fk;
  ALTER TABLE city RENAME CONSTRAINT city_loc_fk TO city_location_fk;
  ALTER TABLE clstr RENAME CONSTRAINT cluster_branch_fk TO clstr_branch_fk;
  ALTER TABLE clstr RENAME CONSTRAINT cluster_location_fk TO clstr_location_fk;
  ALTER TABLE clstr RENAME CONSTRAINT cluster_prsnlty_fk TO clstr_personality_fk;
  ALTER TABLE clstr RENAME CONSTRAINT cluster_sandbox_author_fk TO clstr_userinfo_fk;
  ALTER TABLE clstr RENAME CONSTRAINT cluster_status_fk TO clstr_clusterlifecycle_fk;
  ALTER TABLE clstr_allow_per RENAME CONSTRAINT clstr_allowed_pers_c_fk TO clstr_allow_per_clstr_fk;
  ALTER TABLE clstr_allow_per RENAME CONSTRAINT clstr_allowed_pers_p_fk TO clstr_allow_per_personality_fk;
  ALTER TABLE cluster_service_binding RENAME CONSTRAINT clstr_svc_bndg_cluster_fk TO clstr_svc_bndg_clstr_fk;
  ALTER TABLE cluster_service_binding RENAME CONSTRAINT clstr_svc_bndg_srv_inst_fk TO clstr_svc_bndg_svc_inst_fk;
  ALTER TABLE company RENAME CONSTRAINT company_loc_fk TO company_location_fk;
  ALTER TABLE compute_cluster RENAME CONSTRAINT compute_cluster_fk TO compute_cluster_clstr_fk;
  ALTER TABLE continent RENAME CONSTRAINT continent_loc_fk TO continent_location_fk;
  ALTER TABLE country RENAME CONSTRAINT country_loc_fk TO country_location_fk;
  ALTER TABLE desk RENAME CONSTRAINT desk_loc_fk TO desk_location_fk;
  ALTER TABLE domain RENAME CONSTRAINT domain_branch_fk TO domain_tracked_branch_fk;
  ALTER TABLE domain RENAME CONSTRAINT domain_fk TO domain_branch_fk;
  ALTER TABLE dynamic_stub RENAME CONSTRAINT dynamic_stub_arecord_fk TO dynamic_stub_a_record_fk;
  ALTER TABLE esx_cluster RENAME CONSTRAINT esx_cluster_cluster_fk TO esx_cluster_clstr_fk;
  ALTER TABLE feature_link RENAME CONSTRAINT feature_link_arch_fk TO feature_link_archetype_fk;
  ALTER TABLE feature_link RENAME CONSTRAINT feature_link_feat_fk TO feature_link_feature_fk;
  ALTER TABLE feature_link RENAME CONSTRAINT feature_link_pers_fk TO feature_link_personality_fk;
  ALTER TABLE filesystem RENAME CONSTRAINT fs_resource_fk TO filesystem_resource_fk;
  ALTER TABLE fqdn RENAME CONSTRAINT fqdn_dns_env_fk TO fqdn_dns_environment_fk;
  ALTER TABLE hardware_entity RENAME CONSTRAINT hw_ent_location_fk TO hardware_entity_location_fk;
  ALTER TABLE hardware_entity RENAME CONSTRAINT hw_ent_model_fk TO hardware_entity_model_fk;
  ALTER TABLE hardware_entity RENAME CONSTRAINT hw_ent_pri_name_fk TO hardware_entity_pri_name_fk;
  ALTER TABLE host RENAME CONSTRAINT host_hwent_fk TO host_hardware_entity_fk;
  ALTER TABLE host RENAME CONSTRAINT host_lifecycle_fk TO host_hostlifecycle_fk;
  ALTER TABLE host RENAME CONSTRAINT host_os_fk TO host_operating_system_fk;
  ALTER TABLE host RENAME CONSTRAINT host_prsnlty_fk TO host_personality_fk;
  ALTER TABLE host RENAME CONSTRAINT host_sandbox_author_fk TO host_userinfo_fk;
  ALTER TABLE host_cluster_member RENAME CONSTRAINT hst_clstr_mmbr_clstr_fk TO host_cluster_member_clstr_fk;
  ALTER TABLE host_cluster_member RENAME CONSTRAINT hst_clstr_mmbr_hst_fk TO host_cluster_member_host_fk;
  ALTER TABLE hub RENAME CONSTRAINT hub_loc_fk TO hub_location_fk;
  ALTER TABLE interface RENAME CONSTRAINT iface_hw_ent_fk TO interface_hardware_entity_fk;
  ALTER TABLE interface RENAME CONSTRAINT iface_master_fk TO interface_master_fk;
  ALTER TABLE interface RENAME CONSTRAINT iface_model_fk TO interface_model_fk;
  ALTER TABLE interface RENAME CONSTRAINT iface_pg_fk TO interface_port_group_fk;
  ALTER TABLE interface RENAME CONSTRAINT iface_vlan_parent_fk TO interface_parent_fk;
  ALTER TABLE intervention RENAME CONSTRAINT iv_resource_fk TO intervention_resource_fk;
  ALTER TABLE machine RENAME CONSTRAINT machine_hw_ent_fk TO machine_hardware_entity_fk;
  ALTER TABLE machine_specs RENAME CONSTRAINT mach_spec_cpu_fk TO machine_specs_cpu_fk;
  ALTER TABLE machine_specs RENAME CONSTRAINT mach_spec_model_fk TO machine_specs_model_fk;
  ALTER TABLE machine_specs RENAME CONSTRAINT mach_spec_nic_model_fk TO machine_specs_nic_model_fk;
  ALTER TABLE metacluster RENAME CONSTRAINT meta_cluster_fk TO metacluster_clstr_fk;
  ALTER TABLE metacluster_member RENAME CONSTRAINT metacluster_member_meta_fk TO metacluster_member_mtaclstr_fk;
  ALTER TABLE network RENAME CONSTRAINT network_loc_fk TO network_location_fk;
  ALTER TABLE network RENAME CONSTRAINT network_net_env_fk TO network_network_environment_fk;
  ALTER TABLE network_environment RENAME CONSTRAINT net_env_dns_env_fk TO network_environment_dns_env_fk;
  ALTER TABLE network_environment RENAME CONSTRAINT net_env_loc_fk TO net_env_location_fk;
  ALTER TABLE ns_record RENAME CONSTRAINT ns_record_domain_fk TO ns_record_dns_domain_fk;
  ALTER TABLE observed_mac RENAME CONSTRAINT obs_mac_hw_fk TO observed_mac_network_device_fk;
  ALTER TABLE observed_vlan RENAME CONSTRAINT obs_vlan_hw_fk TO observed_vlan_netdev_fk;
  ALTER TABLE observed_vlan RENAME CONSTRAINT obs_vlan_pg_fk TO observed_vlan_port_group_fk;
  ALTER TABLE operating_system RENAME CONSTRAINT os_arch_fk TO operating_system_archetype_fk;
  ALTER TABLE parameter RENAME CONSTRAINT parameter_paramholder_fk TO parameter_param_holder_fk;
  ALTER TABLE param_definition RENAME CONSTRAINT param_definition_holder_fk TO param_definition_pd_holder_fk;
  ALTER TABLE param_holder RENAME CONSTRAINT param_holder_persona_fk TO param_holder_personality_fk;
  ALTER TABLE personality RENAME CONSTRAINT host_environment_fk TO personality_host_env_fk;
  ALTER TABLE personality RENAME CONSTRAINT prsnlty_arch_fk TO personality_archetype_fk;
  ALTER TABLE personality_cluster_info RENAME CONSTRAINT pers_clst_info_pers_fk TO pers_clstr_personality_fk;
  ALTER TABLE personality_esx_cluster_info RENAME CONSTRAINT pers_esxcl_info_pci_fk TO pers_esxclstr_pers_clstr_fk;
  ALTER TABLE personality_grn_map RENAME CONSTRAINT pers_grn_map_grn_fk TO personality_grn_map_grn_fk;
  ALTER TABLE personality_grn_map RENAME CONSTRAINT pers_grn_map_personality_fk TO personality_grn_map_pers_fk;
  ALTER TABLE personality_rootnetgroup RENAME CONSTRAINT pers_rootng_group_fk TO pers_rootng_netgr_whtlst_fk;
  ALTER TABLE personality_rootnetgroup RENAME CONSTRAINT pers_rootng_pers_fk TO pers_rootng_personality_fk;
  ALTER TABLE personality_rootuser RENAME CONSTRAINT pers_rootuser_pers_fk TO personality_rootuser_pers_fk;
  ALTER TABLE personality_rootuser RENAME CONSTRAINT pers_rootuser_user_fk TO pers_rootuser_userinfo_fk;
  ALTER TABLE personality_service_list_item RENAME CONSTRAINT prsnlty_sli_svc_fk TO psli_service_fk;
  ALTER TABLE personality_service_list_item RENAME CONSTRAINT sli_prsnlty_fk TO psli_personality_fk;
  ALTER TABLE personality_service_map RENAME CONSTRAINT prsnlty_svc_map_loc_fk TO pers_svc_map_location_fk;
  ALTER TABLE personality_service_map RENAME CONSTRAINT prsnlty_svc_map_net_fk TO pers_svc_map_network_fk;
  ALTER TABLE personality_service_map RENAME CONSTRAINT personality TO pers_svc_map_personality_fk;
  ALTER TABLE personality_service_map RENAME CONSTRAINT prsnlty_svc_map_svc_inst_fk TO pers_svc_map_svc_inst_fk;
  ALTER TABLE rack RENAME CONSTRAINT rack_loc_fk TO rack_location_fk;
  ALTER TABLE reboot_intervention RENAME CONSTRAINT ri_resource_fk TO reboot_iv_intervention_fk;
  ALTER TABLE reboot_schedule RENAME CONSTRAINT rs_resource_fk TO reboot_schedule_resource_fk;
  ALTER TABLE resourcegroup RENAME CONSTRAINT rg_resource_fk TO resourcegroup_resource_fk;
  ALTER TABLE room RENAME CONSTRAINT room_loc_fk TO room_location_fk;
  ALTER TABLE sandbox RENAME CONSTRAINT sandbox_fk TO sandbox_branch_fk;
  ALTER TABLE service_address RENAME CONSTRAINT srv_addr_arecord_fk TO service_address_a_record_fk;
  ALTER TABLE service_address RENAME CONSTRAINT srv_addr_resource_fk TO service_address_resource_fk;
  ALTER TABLE service_instance RENAME CONSTRAINT svc_inst_svc_fk TO service_instance_service_fk;
  ALTER TABLE service_instance_server RENAME CONSTRAINT sis_addr_assign_fk TO sis_address_assignment_fk;
  ALTER TABLE service_instance_server RENAME CONSTRAINT sis_cluster_fk TO sis_clstr_fk;
  ALTER TABLE service_instance_server RENAME CONSTRAINT sis_si_fk TO sis_service_instance_fk;
  ALTER TABLE service_instance_server RENAME CONSTRAINT sis_srv_addr_fk TO sis_service_address_fk;
  ALTER TABLE service_list_item RENAME CONSTRAINT sli_arctype_fk TO service_list_item_archetype_fk;
  ALTER TABLE service_list_item RENAME CONSTRAINT sli_svc_fk TO service_list_item_service_fk;
  ALTER TABLE service_map RENAME CONSTRAINT svc_map_loc_fk TO service_map_location_fk;
  ALTER TABLE service_map RENAME CONSTRAINT svc_map_net_fk TO service_map_network_fk;
  ALTER TABLE service_map RENAME CONSTRAINT svc_map_svc_inst_fk TO service_map_svc_inst_fk;
  ALTER TABLE static_route RENAME CONSTRAINT static_route_prsnlty_fk TO static_route_personality_fk;
  ALTER TABLE storage_cluster RENAME CONSTRAINT storage_cluster_fk TO storage_cluster_clstr_fk;
  ALTER TABLE user_principal RENAME CONSTRAINT usr_princ_rlm_fk TO user_principal_realm_fk;
  ALTER TABLE user_principal RENAME CONSTRAINT usr_princ_role_fk TO user_principal_role_fk;
  ALTER TABLE vswitch_cluster RENAME CONSTRAINT vswitch_cluster_cluster_fk TO vswitch_cluster_clstr_fk;
  ALTER TABLE vswitch_host RENAME CONSTRAINT vswitch_host_vswitch_fk TO vswitch_host_virtual_switch_fk;
  ALTER TABLE vswitch_pg RENAME CONSTRAINT vswitch_pg_vswitch_fk TO vswitch_pg_virtual_switch_fk;
  ALTER TABLE xtn_detail RENAME CONSTRAINT xtn_dtl_xtn_fk TO xtn_detail_xtn_fk;
  
  ALTER TABLE address_assignment RENAME CONSTRAINT addr_assign_iface_ip_uk TO address_assignment_iface_ip_uk;
  ALTER TABLE archetype RENAME CONSTRAINT archetype_uk TO archetype_name_uk;
  ALTER TABLE branch RENAME CONSTRAINT branch_uk TO branch_name_uk;
  ALTER TABLE clstr RENAME CONSTRAINT cluster_uk TO clstr_name_uk;
  ALTER TABLE clusterlifecycle RENAME CONSTRAINT clusterlifecycle_uk TO clusterlifecycle_name_uk;
  ALTER TABLE cpu RENAME CONSTRAINT cpu_nm_speed_uk TO cpu_vendor_name_speed_uk;
  ALTER TABLE disk RENAME CONSTRAINT disk_mach_dev_name_uk TO disk_machine_device_name_uk;
  ALTER TABLE dns_domain RENAME CONSTRAINT dns_domain_uk TO dns_domain_name_uk;
  ALTER TABLE dns_map RENAME CONSTRAINT dns_map_loc_dns_dom_uk TO dns_map_location_dns_domain_uk;
  ALTER TABLE feature RENAME CONSTRAINT feature_name_type_uk TO feature_name_feature_type_uk;
  ALTER TABLE hardware_entity RENAME CONSTRAINT hw_ent_pri_name_uk TO hardware_entity_pri_name_uk;
  ALTER TABLE hostlifecycle RENAME CONSTRAINT hostlifecycle_uk TO hostlifecycle_name_uk;
  ALTER TABLE host_environment RENAME CONSTRAINT host_environment_uk TO host_environment_name_uk;
  ALTER TABLE interface RENAME CONSTRAINT iface_hw_name_uk TO interface_hw_ent_name_uk;
  ALTER TABLE interface RENAME CONSTRAINT iface_mac_addr_uk TO interface_mac_uk;
  ALTER TABLE interface RENAME CONSTRAINT iface_parent_vlan_uk TO interface_parent_vlan_uk;
  ALTER TABLE location RENAME CONSTRAINT loc_name_type_uk TO location_name_location_type_uk;
  ALTER TABLE metacluster_member RENAME CONSTRAINT metacluster_member_uk TO metacluster_member_cluster_uk;
  ALTER TABLE netgroup_whitelist RENAME CONSTRAINT netgroup_whitelist_uk TO netgroup_whitelist_name_uk;
  ALTER TABLE network_environment RENAME CONSTRAINT net_env_name_uk TO network_environment_name_uk;
  ALTER TABLE param_holder RENAME CONSTRAINT param_holder_persona_uk TO param_holder_personality_uk;
  ALTER TABLE personality RENAME CONSTRAINT personality_arch_name_uk TO personality_archetype_name_uk;
  ALTER TABLE personality_cluster_info RENAME CONSTRAINT pers_clst_info_pc_uk TO pers_clstr_pc_uk;
  ALTER TABLE personality_service_map RENAME CONSTRAINT prsnlty_svc_map_loc_net_ins_uk TO pers_svc_map_loc_net_ins_uk;
  ALTER TABLE realm RENAME CONSTRAINT realm_uk TO realm_name_uk;
  ALTER TABLE resholder RENAME CONSTRAINT resholder_rg_uk TO resholder_resourcegroup_uk;
  ALTER TABLE role RENAME CONSTRAINT role_uk TO role_name_uk;
  ALTER TABLE service RENAME CONSTRAINT svc_name_uk TO service_name_uk;
  ALTER TABLE service_instance RENAME CONSTRAINT svc_inst_uk TO service_instance_svc_name_uk;
  ALTER TABLE userinfo RENAME CONSTRAINT userinfo_user_uk TO userinfo_name_uk;
  ALTER TABLE user_principal RENAME CONSTRAINT user_principal_realm_uk TO user_principal_name_realm_uk;
  ALTER TABLE vendor RENAME CONSTRAINT vendor_uk TO vendor_name_uk;
  
  ALTER INDEX addr_assign_iface_ip_uk RENAME TO address_assignment_iface_ip_uk;
  ALTER INDEX archetype_uk RENAME TO archetype_name_uk;
  ALTER INDEX branch_uk RENAME TO branch_name_uk;
  ALTER INDEX cluster_uk RENAME TO clstr_name_uk;
  ALTER INDEX clusterlifecycle_uk RENAME TO clusterlifecycle_name_uk;
  ALTER INDEX cpu_nm_speed_uk RENAME TO cpu_vendor_name_speed_uk;
  ALTER INDEX disk_mach_dev_name_uk RENAME TO disk_machine_device_name_uk;
  ALTER INDEX dns_domain_uk RENAME TO dns_domain_name_uk;
  ALTER INDEX dns_map_loc_dns_dom_uk RENAME TO dns_map_location_dns_domain_uk;
  ALTER INDEX feature_name_type_uk RENAME TO feature_name_feature_type_uk;
  ALTER INDEX hostlifecycle_uk RENAME TO hostlifecycle_name_uk;
  ALTER INDEX host_environment_uk RENAME TO host_environment_name_uk;
  ALTER INDEX hw_ent_pri_name_uk RENAME TO hardware_entity_pri_name_uk;
  ALTER INDEX iface_hw_name_uk RENAME TO interface_hw_ent_name_uk;
  ALTER INDEX iface_mac_addr_uk RENAME TO interface_mac_uk;
  ALTER INDEX iface_parent_vlan_uk RENAME TO interface_parent_vlan_uk;
  ALTER INDEX loc_name_type_uk RENAME TO location_name_location_type_uk;
  ALTER INDEX metacluster_member_uk RENAME TO metacluster_member_cluster_uk;
  ALTER INDEX netgroup_whitelist_uk RENAME TO netgroup_whitelist_name_uk;
  ALTER INDEX net_env_name_uk RENAME TO network_environment_name_uk;
  ALTER INDEX param_holder_persona_uk RENAME TO param_holder_personality_uk;
  ALTER INDEX pers_clst_info_pc_uk RENAME TO pers_clstr_pc_uk;
  ALTER INDEX personality_arch_name_uk RENAME TO personality_archetype_name_uk;
  ALTER INDEX prsnlty_svc_map_loc_net_ins_uk RENAME TO pers_svc_map_loc_net_ins_uk;
  ALTER INDEX realm_uk RENAME TO realm_name_uk;
  ALTER INDEX resholder_rg_uk RENAME TO resholder_resourcegroup_uk;
  ALTER INDEX role_uk RENAME TO role_name_uk;
  ALTER INDEX svc_name_uk RENAME TO service_name_uk;
  ALTER INDEX svc_inst_uk RENAME TO service_instance_svc_name_uk;
  ALTER INDEX userinfo_user_uk RENAME TO userinfo_name_uk;
  ALTER INDEX user_principal_realm_uk RENAME TO user_principal_name_realm_uk;
  ALTER INDEX vendor_uk RENAME TO vendor_name_uk;
  
  ALTER INDEX addr_assign_dns_env_idx RENAME TO address_assignment_dns_env_idx;
  ALTER INDEX addr_assign_service_addr_idx RENAME TO addr_assign_srv_addr_idx;
  ALTER INDEX build_item_si_idx RENAME TO build_item_svc_inst_idx;
  ALTER INDEX cluster_branch_idx RENAME TO clstr_branch_idx;
  ALTER INDEX cluster_location_idx RENAME TO clstr_location_constraint_idx;
  ALTER INDEX cluster_prsnlty_idx RENAME TO clstr_personality_idx;
  ALTER INDEX clstr_allow_per_prsnlty_idx RENAME TO clstr_allow_per_pers_idx;
  ALTER INDEX clstr_svc_bndg_si_idx RENAME TO clstr_svc_bndg_svc_inst_idx;
  ALTER INDEX fqdn_dns_env_idx RENAME TO fqdn_dns_environment_idx;
  ALTER INDEX hw_ent_location_idx RENAME TO hardware_entity_location_idx;
  ALTER INDEX hw_ent_model_idx RENAME TO hardware_entity_model_idx;
  ALTER INDEX host_prsnlty_idx RENAME TO host_personality_idx;
  ALTER INDEX iface_master_idx RENAME TO interface_master_idx;
  ALTER INDEX iface_model_idx RENAME TO interface_model_idx;
  ALTER INDEX observed_vlan_pg_idx RENAME TO observed_vlan_port_group_idx;
  ALTER INDEX prsnlty_sli_prsnlty_idx RENAME TO psli_pers_idx;
  ALTER INDEX prsnlty_svc_map_location_idx RENAME TO pers_svc_map_location_idx;
  ALTER INDEX prsnlty_svc_map_network_idx RENAME TO pers_svc_map_network_idx;
  ALTER INDEX prsnlty_svc_map_si_idx RENAME TO pers_svc_map_svc_inst_idx;
  ALTER INDEX srv_addr_dns_record_idx RENAME TO service_address_dns_record_idx;
  ALTER INDEX srvlst_archtyp_idx RENAME TO service_list_item_arch_idx;
  ALTER INDEX svc_map_location_idx RENAME TO service_map_location_idx;
  ALTER INDEX svc_map_network_idx RENAME TO service_map_network_idx;
  ALTER INDEX xtn_isreadonly_idx RENAME TO xtn_is_readonly_idx;
  ALTER INDEX xtn_dtl_name_idx RENAME TO xtn_detail_name_idx;
  ALTER INDEX xtn_dtl_value_idx RENAME TO xtn_detail_value_idx;
  
  ALTER TABLE interface RENAME CONSTRAINT iface_bootable_ck TO interface_bootable_ck;
  ALTER TABLE interface RENAME CONSTRAINT iface_default_route_ck TO interface_default_route_ck;
  ALTER TABLE interface RENAME CONSTRAINT iface_pg_ck TO interface_port_group_ck;
  ALTER TABLE interface RENAME CONSTRAINT iface_vlan_ck TO interface_vlan_ck;
  ALTER TABLE param_definition RENAME CONSTRAINT param_definition_paramdef_ck TO param_definition_required_ck;
  ALTER TABLE param_definition RENAME CONSTRAINT param_definition_rebuild_ck TO param_definition_rebld_req_ck;
  ALTER TABLE personality RENAME CONSTRAINT persona_cfg_override_ck TO personality_config_override_ck;
  
  DROP SEQUENCE build_item_id_seq;
  DROP SEQUENCE service_list_item_id_seq;
  
  RENAME address_assignment_seq TO address_assignment_id_seq;
  RENAME clstr_seq TO clstr_id_seq;
  RENAME hardware_entity_seq TO hardware_entity_id_seq;
  RENAME interface_seq TO interface_id_seq;
  RENAME mach_specs_id_seq TO machine_specs_id_seq;
  RENAME os_seq TO operating_system_id_seq;
  RENAME parameter_seq TO parameter_id_seq;
  RENAME param_definition_seq TO param_definition_id_seq;
  RENAME param_def_holder_seq TO param_def_holder_id_seq;
  RENAME param_holder_seq TO param_holder_id_seq;
  RENAME pers_clst_info_seq TO pers_clstr_id_seq;
  RENAME prsnlty_seq TO personality_id_seq;
  RENAME port_group_seq TO port_group_id_seq;
  RENAME prsnlty_svc_map_seq TO pers_svc_map_id_seq;
  RENAME resholder_seq TO resholder_id_seq;
  RENAME resource_seq TO resource_id_seq;
  RENAME service_instance_server_seq TO service_instance_server_id_seq;
  RENAME virtual_switch_seq TO virtual_switch_id_seq;
  
  QUIT;
  