-- Generated by ebean unknown at 2020-02-21T19:45:37.488834Z alter table bar drop foreign key fk_bar_foo_id; drop index ix_bar_foo_id on bar; alter table acl_container_relation drop foreign key fk_acl_container_relation_container_id; drop index ix_acl_container_relation_container_id on acl_container_relation; alter table acl_container_relation drop foreign key fk_acl_container_relation_acl_entry_id; drop index ix_acl_container_relation_acl_entry_id on acl_container_relation; alter table addr drop foreign key fk_addr_employee_id; drop index ix_addr_employee_id on addr; alter table o_address drop foreign key fk_o_address_country_code; drop index ix_o_address_country_code on o_address; alter table album drop foreign key fk_album_cover_id; alter table animal drop foreign key fk_animal_shelter_id; drop index ix_animal_shelter_id on animal; alter table attribute drop foreign key fk_attribute_attribute_holder_id; drop index ix_attribute_attribute_holder_id on attribute; alter table bbookmark drop foreign key fk_bbookmark_user_id; drop index ix_bbookmark_user_id on bbookmark; alter table bbookmark_user drop foreign key fk_bbookmark_user_org_id; drop index ix_bbookmark_user_org_id on bbookmark_user; alter table bsite_user_a drop foreign key fk_bsite_user_a_site_id; drop index ix_bsite_user_a_site_id on bsite_user_a; alter table bsite_user_a drop foreign key fk_bsite_user_a_user_id; drop index ix_bsite_user_a_user_id on bsite_user_a; alter table bsite_user_b drop foreign key fk_bsite_user_b_site; drop index ix_bsite_user_b_site on bsite_user_b; alter table bsite_user_b drop foreign key fk_bsite_user_b_usr; drop index ix_bsite_user_b_usr on bsite_user_b; alter table bsite_user_c drop foreign key fk_bsite_user_c_site_uid; drop index ix_bsite_user_c_site_uid on bsite_user_c; alter table bsite_user_c drop foreign key fk_bsite_user_c_user_uid; drop index ix_bsite_user_c_user_uid on bsite_user_c; alter table bsite_user_e drop foreign key fk_bsite_user_e_site_id; drop index ix_bsite_user_e_site_id on bsite_user_e; alter table bsite_user_e drop foreign key fk_bsite_user_e_user_id; drop index ix_bsite_user_e_user_id on bsite_user_e; alter table basic_draftable_bean drop foreign key fk_basic_draftable_bean_id; alter table drel_booking drop foreign key fk_drel_booking_agent_invoice; alter table drel_booking drop foreign key fk_drel_booking_client_invoice; alter table cepproduct_category drop foreign key fk_cepproduct_category_category_id; drop index ix_cepproduct_category_category_id on cepproduct_category; alter table cepproduct_category drop foreign key fk_cepproduct_category_product_id; drop index ix_cepproduct_category_product_id on cepproduct_category; alter table cinh_ref drop foreign key fk_cinh_ref_ref_id; drop index ix_cinh_ref_ref_id on cinh_ref; alter table ckey_detail drop foreign key fk_ckey_detail_parent; drop index ix_ckey_detail_parent on ckey_detail; alter table ckey_parent drop foreign key fk_ckey_parent_assoc_id; drop index ix_ckey_parent_assoc_id on ckey_parent; alter table coone_many drop foreign key fk_coone_many_coone_id; drop index ix_coone_many_coone_id on coone_many; alter table coroot drop foreign key fk_coroot_one_id; alter table calculation_result drop foreign key fk_calculation_result_product_configuration_id; drop index ix_calculation_result_product_configuration_id on calculation_result; alter table calculation_result drop foreign key fk_calculation_result_group_configuration_id; drop index ix_calculation_result_group_configuration_id on calculation_result; alter table sp_car_car_wheels drop foreign key fk_sp_car_car_wheels_sp_car_car; drop index ix_sp_car_car_wheels_sp_car_car on sp_car_car_wheels; alter table sp_car_car_wheels drop foreign key fk_sp_car_car_wheels_sp_car_wheel; drop index ix_sp_car_car_wheels_sp_car_wheel on sp_car_car_wheels; alter table sp_car_car_doors drop foreign key fk_sp_car_car_doors_sp_car_car; drop index ix_sp_car_car_doors_sp_car_car on sp_car_car_doors; alter table sp_car_car_doors drop foreign key fk_sp_car_car_doors_sp_car_door; drop index ix_sp_car_car_doors_sp_car_door on sp_car_car_doors; alter table car_accessory drop foreign key fk_car_accessory_fuse_id; drop index ix_car_accessory_fuse_id on car_accessory; alter table car_accessory drop foreign key fk_car_accessory_car_id; drop index ix_car_accessory_car_id on car_accessory; alter table category drop foreign key fk_category_surveyobjectid; drop index ix_category_surveyobjectid on category; alter table e_save_test_d drop foreign key fk_e_save_test_d_parent_id; alter table child_person drop foreign key fk_child_person_some_bean_id; drop index ix_child_person_some_bean_id on child_person; alter table child_person drop foreign key fk_child_person_parent_identifier; drop index ix_child_person_parent_identifier on child_person; alter table cke_client drop foreign key fk_cke_client_user; drop index ix_cke_client_user on cke_client; alter table class_super_monkey drop foreign key fk_class_super_monkey_class_super; alter table class_super_monkey drop foreign key fk_class_super_monkey_monkey; alter table configuration drop foreign key fk_configuration_configurations_id; drop index ix_configuration_configurations_id on configuration; alter table contact drop foreign key fk_contact_customer_id; drop index ix_contact_customer_id on contact; alter table contact drop foreign key fk_contact_group_id; drop index ix_contact_group_id on contact; alter table contact_note drop foreign key fk_contact_note_contact_id; drop index ix_contact_note_contact_id on contact_note; alter table contract_costs drop foreign key fk_contract_costs_position_id; drop index ix_contract_costs_position_id on contract_costs; alter table c_conversation drop foreign key fk_c_conversation_group_id; drop index ix_c_conversation_group_id on c_conversation; alter table o_customer drop foreign key fk_o_customer_billing_address_id; drop index ix_o_customer_billing_address_id on o_customer; alter table o_customer drop foreign key fk_o_customer_shipping_address_id; drop index ix_o_customer_shipping_address_id on o_customer; alter table dcredit_drol drop foreign key fk_dcredit_drol_dcredit; drop index ix_dcredit_drol_dcredit on dcredit_drol; alter table dcredit_drol drop foreign key fk_dcredit_drol_drol; drop index ix_dcredit_drol_drol on dcredit_drol; alter table dmachine drop foreign key fk_dmachine_organisation_id; drop index ix_dmachine_organisation_id on dmachine; alter table d_machine_aux_use drop foreign key fk_d_machine_aux_use_machine_id; drop index ix_d_machine_aux_use_machine_id on d_machine_aux_use; alter table d_machine_stats drop foreign key fk_d_machine_stats_machine_id; drop index ix_d_machine_stats_machine_id on d_machine_stats; alter table d_machine_use drop foreign key fk_d_machine_use_machine_id; drop index ix_d_machine_use_machine_id on d_machine_use; alter table drot_drol drop foreign key fk_drot_drol_drot; drop index ix_drot_drol_drot on drot_drol; alter table drot_drol drop foreign key fk_drot_drol_drol; drop index ix_drot_drol_drol on drot_drol; alter table dc_detail drop foreign key fk_dc_detail_master_id; drop index ix_dc_detail_master_id on dc_detail; alter table dfk_cascade drop foreign key fk_dfk_cascade_one_id; drop index ix_dfk_cascade_one_id on dfk_cascade; alter table dfk_set_null drop foreign key fk_dfk_set_null_one_id; drop index ix_dfk_set_null_one_id on dfk_set_null; alter table doc drop foreign key fk_doc_id; alter table doc_link drop foreign key fk_doc_link_doc; drop index ix_doc_link_doc on doc_link; alter table doc_link drop foreign key fk_doc_link_link; drop index ix_doc_link_link on doc_link; alter table document drop foreign key fk_document_id; alter table document drop foreign key fk_document_organisation_id; drop index ix_document_organisation_id on document; alter table document_draft drop foreign key fk_document_draft_organisation_id; drop index ix_document_draft_organisation_id on document_draft; alter table document_media drop foreign key fk_document_media_document_id; drop index ix_document_media_document_id on document_media; alter table document_media_draft drop foreign key fk_document_media_draft_document_id; drop index ix_document_media_draft_document_id on document_media_draft; alter table e_basicenc_relate drop foreign key fk_e_basicenc_relate_other_id; drop index ix_e_basicenc_relate_other_id on e_basicenc_relate; alter table ebasic_json_map_detail drop foreign key fk_ebasic_json_map_detail_owner_id; drop index ix_ebasic_json_map_detail_owner_id on ebasic_json_map_detail; alter table ebasic_no_sdchild drop foreign key fk_ebasic_no_sdchild_owner_id; drop index ix_ebasic_no_sdchild_owner_id on ebasic_no_sdchild; alter table ebasic_sdchild drop foreign key fk_ebasic_sdchild_owner_id; drop index ix_ebasic_sdchild_owner_id on ebasic_sdchild; alter table ecache_child drop foreign key fk_ecache_child_root_id; drop index ix_ecache_child_root_id on ecache_child; alter table edefault_prop drop foreign key fk_edefault_prop_e_simple_usertypeid; alter table eemb_inner drop foreign key fk_eemb_inner_outer_id; drop index ix_eemb_inner_outer_id on eemb_inner; alter table einvoice drop foreign key fk_einvoice_person_id; drop index ix_einvoice_person_id on einvoice; alter table enull_collection_detail drop foreign key fk_enull_collection_detail_enull_collection_id; drop index ix_enull_collection_detail_enull_collection_id on enull_collection_detail; alter table eopt_one_a drop foreign key fk_eopt_one_a_b_id; drop index ix_eopt_one_a_b_id on eopt_one_a; alter table eopt_one_b drop foreign key fk_eopt_one_b_c_id; drop index ix_eopt_one_b_c_id on eopt_one_b; alter table eper_addr drop foreign key fk_eper_addr_ma_country_code; drop index ix_eper_addr_ma_country_code on eper_addr; alter table esoft_del_book drop foreign key fk_esoft_del_book_lend_by_id; drop index ix_esoft_del_book_lend_by_id on esoft_del_book; alter table esoft_del_book_esoft_del_user drop foreign key fk_esoft_del_book_esoft_del_user_esoft_del_book; drop index ix_esoft_del_book_esoft_del_user_esoft_del_book on esoft_del_book_esoft_del_user; alter table esoft_del_book_esoft_del_user drop foreign key fk_esoft_del_book_esoft_del_user_esoft_del_user; drop index ix_esoft_del_book_esoft_del_user_esoft_del_user on esoft_del_book_esoft_del_user; alter table esoft_del_down drop foreign key fk_esoft_del_down_esoft_del_mid_id; drop index ix_esoft_del_down_esoft_del_mid_id on esoft_del_down; alter table esoft_del_mid drop foreign key fk_esoft_del_mid_top_id; drop index ix_esoft_del_mid_top_id on esoft_del_mid; alter table esoft_del_mid drop foreign key fk_esoft_del_mid_up_id; drop index ix_esoft_del_mid_up_id on esoft_del_mid; alter table esoft_del_one_a drop foreign key fk_esoft_del_one_a_oneb_id; alter table esoft_del_role_esoft_del_user drop foreign key fk_esoft_del_role_esoft_del_user_esoft_del_role; drop index ix_esoft_del_role_esoft_del_user_esoft_del_role on esoft_del_role_esoft_del_user; alter table esoft_del_role_esoft_del_user drop foreign key fk_esoft_del_role_esoft_del_user_esoft_del_user; drop index ix_esoft_del_role_esoft_del_user_esoft_del_user on esoft_del_role_esoft_del_user; alter table esoft_del_user_esoft_del_role drop foreign key fk_esoft_del_user_esoft_del_role_esoft_del_user; drop index ix_esoft_del_user_esoft_del_role_esoft_del_user on esoft_del_user_esoft_del_role; alter table esoft_del_user_esoft_del_role drop foreign key fk_esoft_del_user_esoft_del_role_esoft_del_role; drop index ix_esoft_del_user_esoft_del_role_esoft_del_role on esoft_del_user_esoft_del_role; alter table rawinherit_uncle drop foreign key fk_rawinherit_uncle_parent_id; drop index ix_rawinherit_uncle_parent_id on rawinherit_uncle; alter table evanilla_collection_detail drop foreign key fk_evanilla_collection_detail_evanilla_collection_id; drop index ix_evanilla_collection_detail_evanilla_collection_id on evanilla_collection_detail; alter table ec_enum_person_tags drop foreign key fk_ec_enum_person_tags_ec_enum_person_id; drop index ix_ec_enum_person_tags_ec_enum_person_id on ec_enum_person_tags; alter table ec_person_phone drop foreign key fk_ec_person_phone_owner_id; drop index ix_ec_person_phone_owner_id on ec_person_phone; alter table ec_top drop foreign key fk_ec_top_person_id; drop index ix_ec_top_person_id on ec_top; alter table ec_top_ecs_person drop foreign key fk_ec_top_ecs_person_ec_top; drop index ix_ec_top_ecs_person_ec_top on ec_top_ecs_person; alter table ec_top_ecs_person drop foreign key fk_ec_top_ecs_person_ecs_person; drop index ix_ec_top_ecs_person_ecs_person on ec_top_ecs_person; alter table ecbl_person_phone_numbers drop foreign key fk_ecbl_person_phone_numbers_person_id; drop index ix_ecbl_person_phone_numbers_person_id on ecbl_person_phone_numbers; alter table ecbm_person_phone_numbers drop foreign key fk_ecbm_person_phone_numbers_person_id; drop index ix_ecbm_person_phone_numbers_person_id on ecbm_person_phone_numbers; alter table ecm_person_phone_numbers drop foreign key fk_ecm_person_phone_numbers_ecm_person_id; drop index ix_ecm_person_phone_numbers_ecm_person_id on ecm_person_phone_numbers; alter table ecmc_person_phone_numbers drop foreign key fk_ecmc_person_phone_numbers_ecmc_person_id; drop index ix_ecmc_person_phone_numbers_ecmc_person_id on ecmc_person_phone_numbers; alter table ecs_person_phone drop foreign key fk_ecs_person_phone_ecs_person_id; drop index ix_ecs_person_phone_ecs_person_id on ecs_person_phone; alter table ecsm_child drop foreign key fk_ecsm_child_ecsm_parent_id; drop index ix_ecsm_child_ecsm_parent_id on ecsm_child; alter table td_child drop foreign key fk_td_child_parent_id; drop index ix_td_child_parent_id on td_child; alter table element_bean drop foreign key fk_element_bean_complex_bean_id; drop index ix_element_bean_complex_bean_id on element_bean; alter table empl drop foreign key fk_empl_default_address_id; drop index ix_empl_default_address_id on empl; alter table esd_detail drop foreign key fk_esd_detail_master_id; drop index ix_esd_detail_master_id on esd_detail; alter table grand_parent_person drop foreign key fk_grand_parent_person_some_bean_id; drop index ix_grand_parent_person_some_bean_id on grand_parent_person; alter table survey_group drop foreign key fk_survey_group_categoryobjectid; drop index ix_survey_group_categoryobjectid on survey_group; alter table hx_link_doc drop foreign key fk_hx_link_doc_hx_link; drop index ix_hx_link_doc_hx_link on hx_link_doc; alter table hx_link_doc drop foreign key fk_hx_link_doc_he_doc; drop index ix_hx_link_doc_he_doc on hx_link_doc; alter table hi_link_doc drop foreign key fk_hi_link_doc_hi_link; drop index ix_hi_link_doc_hi_link on hi_link_doc; alter table hi_link_doc drop foreign key fk_hi_link_doc_hi_doc; drop index ix_hi_link_doc_hi_doc on hi_link_doc; alter table hi_tthree drop foreign key fk_hi_tthree_hi_ttwo_id; drop index ix_hi_tthree_hi_ttwo_id on hi_tthree; alter table hi_ttwo drop foreign key fk_hi_ttwo_hi_tone_id; drop index ix_hi_ttwo_hi_tone_id on hi_ttwo; alter table hsd_setting drop foreign key fk_hsd_setting_user_id; alter table iaf_segment drop foreign key fk_iaf_segment_status_id; drop index ix_iaf_segment_status_id on iaf_segment; alter table imrelated drop foreign key fk_imrelated_owner_id; drop index ix_imrelated_owner_id on imrelated; alter table info_contact drop foreign key fk_info_contact_company_id; drop index ix_info_contact_company_id on info_contact; alter table info_customer drop foreign key fk_info_customer_company_id; alter table inner_report drop foreign key fk_inner_report_forecast_id; alter table drel_invoice drop foreign key fk_drel_invoice_booking; drop index ix_drel_invoice_booking on drel_invoice; alter table item drop foreign key fk_item_etype; drop index ix_item_etype on item; alter table item drop foreign key fk_item_eregion; drop index ix_item_eregion on item; alter table mkeygroup_monkey drop foreign key fk_mkeygroup_monkey_mkeygroup; alter table mkeygroup_monkey drop foreign key fk_mkeygroup_monkey_monkey; alter table trainer_monkey drop foreign key fk_trainer_monkey_trainer; alter table trainer_monkey drop foreign key fk_trainer_monkey_monkey; alter table troop_monkey drop foreign key fk_troop_monkey_troop; alter table troop_monkey drop foreign key fk_troop_monkey_monkey; alter table l2_cldf_reset_bean_child drop foreign key fk_l2_cldf_reset_bean_child_parent_id; drop index ix_l2_cldf_reset_bean_child_parent_id on l2_cldf_reset_bean_child; alter table level1_level4 drop foreign key fk_level1_level4_level1; drop index ix_level1_level4_level1 on level1_level4; alter table level1_level4 drop foreign key fk_level1_level4_level4; drop index ix_level1_level4_level4 on level1_level4; alter table level1_level2 drop foreign key fk_level1_level2_level1; drop index ix_level1_level2_level1 on level1_level2; alter table level1_level2 drop foreign key fk_level1_level2_level2; drop index ix_level1_level2_level2 on level1_level2; alter table level2_level3 drop foreign key fk_level2_level3_level2; drop index ix_level2_level3_level2 on level2_level3; alter table level2_level3 drop foreign key fk_level2_level3_level3; drop index ix_level2_level3_level3 on level2_level3; alter table link drop foreign key fk_link_id; alter table la_attr_value_attribute drop foreign key fk_la_attr_value_attribute_la_attr_value; drop index ix_la_attr_value_attribute_la_attr_value on la_attr_value_attribute; alter table la_attr_value_attribute drop foreign key fk_la_attr_value_attribute_attribute; drop index ix_la_attr_value_attribute_attribute on la_attr_value_attribute; alter table looney drop foreign key fk_looney_tune_id; drop index ix_looney_tune_id on looney; alter table mcontact drop foreign key fk_mcontact_customer_id; drop index ix_mcontact_customer_id on mcontact; alter table mcontact_message drop foreign key fk_mcontact_message_contact_id; drop index ix_mcontact_message_contact_id on mcontact_message; alter table mcustomer drop foreign key fk_mcustomer_shipping_address_id; drop index ix_mcustomer_shipping_address_id on mcustomer; alter table mcustomer drop foreign key fk_mcustomer_billing_address_id; drop index ix_mcustomer_billing_address_id on mcustomer; alter table mmachine_mgroup drop foreign key fk_mmachine_mgroup_mmachine; drop index ix_mmachine_mgroup_mmachine on mmachine_mgroup; alter table mmachine_mgroup drop foreign key fk_mmachine_mgroup_mgroup; drop index ix_mmachine_mgroup_mgroup on mmachine_mgroup; alter table mprinter drop foreign key fk_mprinter_current_state_id; drop index ix_mprinter_current_state_id on mprinter; alter table mprinter drop foreign key fk_mprinter_last_swap_cyan_id; alter table mprinter drop foreign key fk_mprinter_last_swap_magenta_id; alter table mprinter drop foreign key fk_mprinter_last_swap_yellow_id; alter table mprinter drop foreign key fk_mprinter_last_swap_black_id; alter table mprinter_state drop foreign key fk_mprinter_state_printer_id; drop index ix_mprinter_state_printer_id on mprinter_state; alter table mprofile drop foreign key fk_mprofile_picture_id; drop index ix_mprofile_picture_id on mprofile; alter table mrole_muser drop foreign key fk_mrole_muser_mrole; drop index ix_mrole_muser_mrole on mrole_muser; alter table mrole_muser drop foreign key fk_mrole_muser_muser; drop index ix_mrole_muser_muser on mrole_muser; alter table muser drop foreign key fk_muser_user_type_id; drop index ix_muser_user_type_id on muser; alter table mail_user_inbox drop foreign key fk_mail_user_inbox_mail_user; drop index ix_mail_user_inbox_mail_user on mail_user_inbox; alter table mail_user_inbox drop foreign key fk_mail_user_inbox_mail_box; drop index ix_mail_user_inbox_mail_box on mail_user_inbox; alter table mail_user_outbox drop foreign key fk_mail_user_outbox_mail_user; drop index ix_mail_user_outbox_mail_user on mail_user_outbox; alter table mail_user_outbox drop foreign key fk_mail_user_outbox_mail_box; drop index ix_mail_user_outbox_mail_box on mail_user_outbox; alter table c_message drop foreign key fk_c_message_conversation_id; drop index ix_c_message_conversation_id on c_message; alter table c_message drop foreign key fk_c_message_user_id; drop index ix_c_message_user_id on c_message; alter table meter_contract_data drop foreign key fk_meter_contract_data_special_needs_client_id; alter table meter_special_needs_client drop foreign key fk_meter_special_needs_client_primary_id; alter table meter_version drop foreign key fk_meter_version_address_data_id; alter table meter_version drop foreign key fk_meter_version_contract_data_id; alter table mnoc_user_mnoc_role drop foreign key fk_mnoc_user_mnoc_role_mnoc_user; drop index ix_mnoc_user_mnoc_role_mnoc_user on mnoc_user_mnoc_role; alter table mnoc_user_mnoc_role drop foreign key fk_mnoc_user_mnoc_role_mnoc_role; drop index ix_mnoc_user_mnoc_role_mnoc_role on mnoc_user_mnoc_role; alter table mny_b drop foreign key fk_mny_b_a_id; drop index ix_mny_b_a_id on mny_b; alter table mny_b_mny_c drop foreign key fk_mny_b_mny_c_mny_b; drop index ix_mny_b_mny_c_mny_b on mny_b_mny_c; alter table mny_b_mny_c drop foreign key fk_mny_b_mny_c_mny_c; drop index ix_mny_b_mny_c_mny_c on mny_b_mny_c; alter table subtopics drop foreign key fk_subtopics_mny_topic_1; drop index ix_subtopics_mny_topic_1 on subtopics; alter table subtopics drop foreign key fk_subtopics_mny_topic_2; drop index ix_subtopics_mny_topic_2 on subtopics; alter table mp_role drop foreign key fk_mp_role_mp_user_id; drop index ix_mp_role_mp_user_id on mp_role; alter table ms_many_a_many_b drop foreign key fk_ms_many_a_many_b_ms_many_a; drop index ix_ms_many_a_many_b_ms_many_a on ms_many_a_many_b; alter table ms_many_a_many_b drop foreign key fk_ms_many_a_many_b_ms_many_b; drop index ix_ms_many_a_many_b_ms_many_b on ms_many_a_many_b; alter table ms_many_b_many_a drop foreign key fk_ms_many_b_many_a_ms_many_b; drop index ix_ms_many_b_many_a_ms_many_b on ms_many_b_many_a; alter table ms_many_b_many_a drop foreign key fk_ms_many_b_many_a_ms_many_a; drop index ix_ms_many_b_many_a_ms_many_a on ms_many_b_many_a; alter table my_lob_size_join_many drop foreign key fk_my_lob_size_join_many_parent_id; drop index ix_my_lob_size_join_many_parent_id on my_lob_size_join_many; alter table o_bean_child drop foreign key fk_o_bean_child_cached_bean_id; drop index ix_o_bean_child_cached_bean_id on o_bean_child; alter table ocached_app_detail drop foreign key fk_ocached_app_detail_app_id; drop index ix_ocached_app_detail_app_id on ocached_app_detail; alter table o_cached_bean_country drop foreign key fk_o_cached_bean_country_o_cached_bean; drop index ix_o_cached_bean_country_o_cached_bean on o_cached_bean_country; alter table o_cached_bean_country drop foreign key fk_o_cached_bean_country_o_country; drop index ix_o_cached_bean_country_o_country on o_cached_bean_country; alter table o_cached_bean_child drop foreign key fk_o_cached_bean_child_cached_bean_id; drop index ix_o_cached_bean_child_cached_bean_id on o_cached_bean_child; alter table oengine drop foreign key fk_oengine_car_id; alter table ogear_box drop foreign key fk_ogear_box_car_id; alter table omvertex_other drop foreign key fk_omvertex_other_omvertex_id; drop index ix_omvertex_other_omvertex_id on omvertex_other; alter table oroad_show_msg drop foreign key fk_oroad_show_msg_company_id; alter table om_account_child_dbo drop foreign key fk_om_account_child_dbo_banana_rama_id; drop index ix_om_account_child_dbo_banana_rama_id on om_account_child_dbo; alter table om_basic_child drop foreign key fk_om_basic_child_parent_id; drop index ix_om_basic_child_parent_id on om_basic_child; alter table om_ordered_detail drop foreign key fk_om_ordered_detail_master_id; drop index ix_om_ordered_detail_master_id on om_ordered_detail; alter table o_order drop foreign key fk_o_order_kcustomer_id; drop index ix_o_order_kcustomer_id on o_order; alter table o_order_detail drop foreign key fk_o_order_detail_order_id; drop index ix_o_order_detail_order_id on o_order_detail; alter table o_order_detail drop foreign key fk_o_order_detail_product_id; drop index ix_o_order_detail_product_id on o_order_detail; alter table s_order_items drop foreign key fk_s_order_items_order_uuid; drop index ix_s_order_items_order_uuid on s_order_items; alter table or_order_ship drop foreign key fk_or_order_ship_order_id; drop index ix_or_order_ship_order_id on or_order_ship; alter table organization_node drop foreign key fk_organization_node_parent_tree_node_id; alter table orp_detail drop foreign key fk_orp_detail_master_id; drop index ix_orp_detail_master_id on orp_detail; alter table orp_detail2 drop foreign key fk_orp_detail2_orp_master2_id; drop index ix_orp_detail2_orp_master2_id on orp_detail2; alter table oto_atwo drop foreign key fk_oto_atwo_aone_id; alter table oto_bchild drop foreign key fk_oto_bchild_master_id; alter table oto_child drop foreign key fk_oto_child_master_id; alter table oto_cust_address drop foreign key fk_oto_cust_address_customer_cid; alter table oto_level_a drop foreign key fk_oto_level_a_b_id; alter table oto_level_b drop foreign key fk_oto_level_b_c_id; alter table oto_prime_extra drop foreign key fk_oto_prime_extra_eid; alter table oto_sd_child drop foreign key fk_oto_sd_child_master_id; alter table oto_th_many drop foreign key fk_oto_th_many_oto_th_top_id; drop index ix_oto_th_many_oto_th_top_id on oto_th_many; alter table oto_th_one drop foreign key fk_oto_th_one_many_id; alter table oto_ubprime_extra drop foreign key fk_oto_ubprime_extra_eid; alter table oto_user_model drop foreign key fk_oto_user_model_user_optional_id; alter table pfile drop foreign key fk_pfile_file_content_id; alter table pfile drop foreign key fk_pfile_file_content2_id; alter table paggview drop foreign key fk_paggview_pview_id; alter table pallet_location drop foreign key fk_pallet_location_zone_sid; drop index ix_pallet_location_zone_sid on pallet_location; alter table parcel_location drop foreign key fk_parcel_location_parcelid; alter table rawinherit_parent_rawinherit_data drop foreign key fk_rawinherit_parent_rawinherit_data_rawinherit_parent; drop index ix_rawinherit_parent_rawinherit_data_rawinherit_parent on rawinherit_parent_rawinherit_data; alter table rawinherit_parent_rawinherit_data drop foreign key fk_rawinherit_parent_rawinherit_data_rawinherit_data; drop index ix_rawinherit_parent_rawinherit_data_rawinherit_data on rawinherit_parent_rawinherit_data; alter table parent_person drop foreign key fk_parent_person_some_bean_id; drop index ix_parent_person_some_bean_id on parent_person; alter table parent_person drop foreign key fk_parent_person_parent_identifier; drop index ix_parent_person_parent_identifier on parent_person; alter table c_participation drop foreign key fk_c_participation_conversation_id; drop index ix_c_participation_conversation_id on c_participation; alter table c_participation drop foreign key fk_c_participation_user_id; drop index ix_c_participation_user_id on c_participation; alter table pcf_calendar drop foreign key fk_pcf_calendar_pcf_person_id; drop index ix_pcf_calendar_pcf_person_id on pcf_calendar; alter table pcf_city drop foreign key fk_pcf_city_pcf_country_id; drop index ix_pcf_city_pcf_country_id on pcf_city; alter table pcf_city drop foreign key fk_pcf_city_mayor_id; alter table pcf_city drop foreign key fk_pcf_city_vice_mayor_id; alter table pcf_event drop foreign key fk_pcf_event_pcf_calendar_id; drop index ix_pcf_event_pcf_calendar_id on pcf_event; alter table persistent_file_content drop foreign key fk_persistent_file_content_persistent_file_id; alter table person drop foreign key fk_person_default_address_oid; drop index ix_person_default_address_oid on person; alter table person_cache_email drop foreign key fk_person_cache_email_person_info_person_id; drop index ix_person_cache_email_person_info_person_id on person_cache_email; alter table phones drop foreign key fk_phones_person_id; drop index ix_phones_person_id on phones; alter table e_position drop foreign key fk_e_position_contract_id; drop index ix_e_position_contract_id on e_position; alter table pp_to_ww drop foreign key fk_pp_to_ww_pp; drop index ix_pp_to_ww_pp on pp_to_ww; alter table pp_to_ww drop foreign key fk_pp_to_ww_wview; drop index ix_pp_to_ww_wview on pp_to_ww; alter table question drop foreign key fk_question_groupobjectid; drop index ix_question_groupobjectid on question; alter table r_orders drop foreign key fk_r_orders_customer; drop index ix_r_orders_customer on r_orders; alter table rel_master drop foreign key fk_rel_master_detail_id; drop index ix_rel_master_detail_id on rel_master; alter table resourcefile drop foreign key fk_resourcefile_parentresourcefileid; drop index ix_resourcefile_parentresourcefileid on resourcefile; alter table mt_role drop foreign key fk_mt_role_tenant_id; drop index ix_mt_role_tenant_id on mt_role; alter table mt_role_permission drop foreign key fk_mt_role_permission_mt_role; drop index ix_mt_role_permission_mt_role on mt_role_permission; alter table mt_role_permission drop foreign key fk_mt_role_permission_mt_permission; drop index ix_mt_role_permission_mt_permission on mt_role_permission; alter table root_bean drop foreign key fk_root_bean_referencing_bean_id; drop index ix_root_bean_referencing_bean_id on root_bean; alter table f_second drop foreign key fk_f_second_first; alter table section drop foreign key fk_section_article_id; drop index ix_section_article_id on section; alter table self_parent drop foreign key fk_self_parent_parent_id; drop index ix_self_parent_parent_id on self_parent; alter table self_ref_customer drop foreign key fk_self_ref_customer_referred_by_id; drop index ix_self_ref_customer_referred_by_id on self_ref_customer; alter table self_ref_example drop foreign key fk_self_ref_example_parent_id; drop index ix_self_ref_example_parent_id on self_ref_example; alter table e_save_test_b drop foreign key fk_e_save_test_b_sibling_a_id; alter table site drop foreign key fk_site_parent_id; drop index ix_site_parent_id on site; alter table site drop foreign key fk_site_data_container_id; alter table site drop foreign key fk_site_site_address_id; alter table source_base drop foreign key fk_source_base_target_id; drop index ix_source_base_target_id on source_base; alter table stockforecast drop foreign key fk_stockforecast_inner_report_id; drop index ix_stockforecast_inner_report_id on stockforecast; alter table sub_section drop foreign key fk_sub_section_section_id; drop index ix_sub_section_section_id on sub_section; alter table tevent_many drop foreign key fk_tevent_many_event_id; drop index ix_tevent_many_event_id on tevent_many; alter table tevent_one drop foreign key fk_tevent_one_event_id; alter table t_detail_with_other_namexxxyy drop foreign key fk_t_detail_with_other_namexxxyy_master_id; drop index ix_t_detail_with_other_namexxxyy_master_id on t_detail_with_other_namexxxyy; alter table ttruck_holder drop foreign key fk_ttruck_holder_truck_plate_no; drop index ix_ttruck_holder_truck_plate_no on ttruck_holder; alter table ttruck_holder drop foreign key fk_ttruck_holder_basic_id; drop index ix_ttruck_holder_basic_id on ttruck_holder; alter table ttruck_holder_item drop foreign key fk_ttruck_holder_item_owner_id; drop index ix_ttruck_holder_item_owner_id on ttruck_holder_item; alter table twheel drop foreign key fk_twheel_owner_plate_no; drop index ix_twheel_owner_plate_no on twheel; alter table tire drop foreign key fk_tire_wheel; alter table tree_entity drop foreign key fk_tree_entity_parent_id; drop index ix_tree_entity_parent_id on tree_entity; alter table trip drop foreign key fk_trip_vehicle_driver_id; drop index ix_trip_vehicle_driver_id on trip; alter table trip drop foreign key fk_trip_address_id; drop index ix_trip_address_id on trip; alter table `type` drop foreign key fk_type_sub_type_id; drop index ix_type_sub_type_id on `type`; alter table usib_child drop foreign key fk_usib_child_parent_id; drop index ix_usib_child_parent_id on usib_child; alter table usib_child_sibling drop foreign key fk_usib_child_sibling_child_id; alter table ut_detail drop foreign key fk_ut_detail_utmaster_id; drop index ix_ut_detail_utmaster_id on ut_detail; alter table uutwo drop foreign key fk_uutwo_master_id; drop index ix_uutwo_master_id on uutwo; alter table oto_user drop foreign key fk_oto_user_account_id; alter table c_user drop foreign key fk_c_user_group_id; drop index ix_c_user_group_id on c_user; alter table em_user_role drop foreign key fk_em_user_role_user_id; drop index ix_em_user_role_user_id on em_user_role; alter table em_user_role drop foreign key fk_em_user_role_role_id; drop index ix_em_user_role_role_id on em_user_role; alter table vehicle drop foreign key fk_vehicle_lease_id; drop index ix_vehicle_lease_id on vehicle; alter table vehicle drop foreign key fk_vehicle_car_ref_id; drop index ix_vehicle_car_ref_id on vehicle; alter table vehicle drop foreign key fk_vehicle_truck_ref_id; drop index ix_vehicle_truck_ref_id on vehicle; alter table vehicle_driver drop foreign key fk_vehicle_driver_vehicle_id; drop index ix_vehicle_driver_vehicle_id on vehicle_driver; alter table vehicle_driver drop foreign key fk_vehicle_driver_address_id; drop index ix_vehicle_driver_address_id on vehicle_driver; alter table warehouses drop foreign key fk_warehouses_officezoneid; drop index ix_warehouses_officezoneid on warehouses; alter table warehousesshippingzones drop foreign key fk_warehousesshippingzones_warehouses; drop index ix_warehousesshippingzones_warehouses on warehousesshippingzones; alter table warehousesshippingzones drop foreign key fk_warehousesshippingzones_zones; drop index ix_warehousesshippingzones_zones on warehousesshippingzones; alter table sa_wheel drop foreign key fk_sa_wheel_tire; drop index ix_sa_wheel_tire on sa_wheel; alter table sa_wheel drop foreign key fk_sa_wheel_car; drop index ix_sa_wheel_car on sa_wheel; alter table g_who_props_otm drop foreign key fk_g_who_props_otm_who_created_id; drop index ix_g_who_props_otm_who_created_id on g_who_props_otm; alter table g_who_props_otm drop foreign key fk_g_who_props_otm_who_modified_id; drop index ix_g_who_props_otm_who_modified_id on g_who_props_otm; alter table with_zero drop foreign key fk_with_zero_parent_id; drop index ix_with_zero_parent_id on with_zero; drop table if exists asimple_bean; drop table if exists bar; drop table if exists block; drop table if exists oto_account; drop table if exists acl; drop table if exists acl_container_relation; drop table if exists addr; drop table if exists address; drop table if exists o_address; drop table if exists album; drop table if exists animal; drop table if exists animal_shelter; drop table if exists article; drop table if exists attribute; drop table if exists attribute_holder; drop table if exists audit_log; drop table if exists bbookmark; drop table if exists bbookmark_org; drop table if exists bbookmark_user; drop table if exists bsimple_with_gen; drop table if exists bsite; drop table if exists bsite_user_a; drop table if exists bsite_user_b; drop table if exists bsite_user_c; drop table if exists bsite_user_d; drop table if exists bsite_user_e; drop table if exists buser; drop table if exists bwith_qident; drop table if exists basic_draftable_bean; drop table if exists basic_draftable_bean_draft; drop table if exists basic_joda_entity; drop table if exists bean_with_time_zone; drop table if exists drel_booking; drop table if exists bw_bean; drop table if exists cepcategory; drop table if exists cepproduct; drop table if exists cepproduct_category; drop table if exists cinh_ref; drop table if exists cinh_root; drop table if exists ckey_assoc; drop table if exists ckey_detail; drop table if exists ckey_parent; drop table if exists coone; drop table if exists coone_many; drop table if exists coroot; drop table if exists calculation_result; drop table if exists cao_bean; drop table if exists sp_car_car; drop table if exists sp_car_car_wheels; drop table if exists sp_car_car_doors; drop table if exists sa_car; drop table if exists car_accessory; drop table if exists car_fuse; drop table if exists category; drop table if exists e_save_test_d; drop table if exists child_person; drop table if exists cke_client; drop table if exists cke_user; drop table if exists class_super; drop table if exists class_super_monkey; drop table if exists configuration; drop table if exists configurations; drop table if exists contact; drop table if exists contact_group; drop table if exists contact_note; drop table if exists contract; drop table if exists contract_costs; drop table if exists c_conversation; drop table if exists o_country; drop table if exists cover; drop table if exists o_customer; drop table if exists dcredit; drop table if exists dcredit_drol; drop table if exists dexh_entity; drop table if exists dint_parent; drop table if exists dmachine; drop table if exists d_machine_aux_use; drop table if exists d_machine_stats; drop table if exists d_machine_use; drop table if exists dorg; drop table if exists dperson; drop table if exists drol; drop table if exists drot; drop table if exists drot_drol; drop table if exists rawinherit_data; drop table if exists data_container; drop table if exists dc_detail; drop table if exists dc_master; drop table if exists dfk_cascade; drop table if exists dfk_cascade_one; drop table if exists dfk_none; drop table if exists dfk_none_via_join; drop table if exists dfk_none_via_mto_m; drop table if exists dfk_none_via_mto_m_dfk_one; drop table if exists dfk_one; drop table if exists dfk_set_null; drop table if exists doc; drop table if exists doc_link; drop table if exists doc_link_draft; drop table if exists doc_draft; drop table if exists document; drop table if exists document_draft; drop table if exists document_media; drop table if exists document_media_draft; drop table if exists sp_car_door; drop table if exists earray_bean; drop table if exists earray_set_bean; drop table if exists e_basic; drop table if exists ebasic_change_log; drop table if exists ebasic_clob; drop table if exists ebasic_clob_fetch_eager; drop table if exists ebasic_clob_no_ver; drop table if exists e_basicenc; drop table if exists e_basicenc_bin; drop table if exists e_basicenc_client; drop table if exists e_basicenc_relate; drop table if exists e_basic_enum_id; drop table if exists e_basic_eni; drop table if exists ebasic_hstore; drop table if exists ebasic_json_jackson; drop table if exists ebasic_json_jackson2; drop table if exists ebasic_json_list; drop table if exists ebasic_json_map; drop table if exists ebasic_json_map_blob; drop table if exists ebasic_json_map_clob; drop table if exists ebasic_json_map_detail; drop table if exists ebasic_json_map_json_b; drop table if exists ebasic_json_map_varchar; drop table if exists ebasic_json_node; drop table if exists ebasic_json_node_blob; drop table if exists ebasic_json_node_json_b; drop table if exists ebasic_json_node_varchar; drop table if exists ebasic_json_unmapped; drop table if exists e_basic_ndc; drop table if exists ebasic_no_sdchild; drop table if exists ebasic_sdchild; drop table if exists ebasic_soft_delete; drop table if exists e_basicver; drop table if exists e_basic_withlife; drop table if exists e_basic_with_ex; drop table if exists e_basicverucon; drop table if exists ecache_child; drop table if exists ecache_root; drop table if exists e_col_ab; drop table if exists ecustom_id; drop table if exists edefault_prop; drop table if exists eemb_inner; drop table if exists eemb_outer; drop table if exists efile2_no_fk; drop table if exists efile_no_fk; drop table if exists efile_no_fk_euser_no_fk; drop table if exists efile_no_fk_euser_no_fk_soft_del; drop table if exists egen_props; drop table if exists eid_uid_bean; drop table if exists einvoice; drop table if exists e_main; drop table if exists enull_collection; drop table if exists enull_collection_detail; drop table if exists eopt_one_a; drop table if exists eopt_one_b; drop table if exists eopt_one_c; drop table if exists eper_addr; drop table if exists eperson; drop table if exists e_person_online; drop table if exists esimple; drop table if exists esoft_del_book; drop table if exists esoft_del_book_esoft_del_user; drop table if exists esoft_del_down; drop table if exists esoft_del_mid; drop table if exists esoft_del_one_a; drop table if exists esoft_del_one_b; drop table if exists esoft_del_role; drop table if exists esoft_del_role_esoft_del_user; drop table if exists esoft_del_top; drop table if exists esoft_del_up; drop table if exists esoft_del_user; drop table if exists esoft_del_user_esoft_del_role; drop table if exists esome_convert_type; drop table if exists esome_type; drop table if exists etrans_many; drop table if exists rawinherit_uncle; drop table if exists euser_no_fk; drop table if exists euser_no_fk_soft_del; drop table if exists evanilla_collection; drop table if exists evanilla_collection_detail; drop table if exists ewho_props; drop table if exists e_withinet; drop table if exists ec_enum_person; drop table if exists ec_enum_person_tags; drop table if exists ec_person; drop table if exists ec_person_phone; drop table if exists ec_top; drop table if exists ec_top_ecs_person; drop table if exists ecbl_person; drop table if exists ecbl_person_phone_numbers; drop table if exists ecbm_person; drop table if exists ecbm_person_phone_numbers; drop table if exists ecm_person; drop table if exists ecm_person_phone_numbers; drop table if exists ecmc_person; drop table if exists ecmc_person_phone_numbers; drop table if exists ecs_person; drop table if exists ecs_person_phone; drop table if exists ecsm_child; drop table if exists ecsm_values; drop table if exists ecsm_one; drop table if exists ecsm_parent; drop table if exists ecsm_two; drop table if exists td_child; drop table if exists td_parent; drop table if exists element_bean; drop table if exists empl; drop table if exists esd_detail; drop table if exists esd_master; drop table if exists feature_desc; drop table if exists f_first; drop table if exists foo; drop table if exists gen_key_identity; drop table if exists gen_key_sequence; drop table if exists gen_key_table; drop table if exists grand_parent_person; drop table if exists survey_group; drop table if exists c_group; drop table if exists he_doc; drop trigger hx_link_history_upd; drop trigger hx_link_history_del; drop view hx_link_with_history; alter table hx_link drop column sys_period_start; alter table hx_link drop column sys_period_end; drop table hx_link_history; drop table if exists hx_link; drop table if exists hx_link_doc; drop table if exists hi_doc; drop trigger hi_link_history_upd; drop trigger hi_link_history_del; drop view hi_link_with_history; alter table hi_link drop column sys_period_start; alter table hi_link drop column sys_period_end; drop table hi_link_history; drop table if exists hi_link; drop trigger hi_link_doc_history_upd; drop trigger hi_link_doc_history_del; drop view hi_link_doc_with_history; alter table hi_link_doc drop column sys_period_start; alter table hi_link_doc drop column sys_period_end; drop table hi_link_doc_history; drop table if exists hi_link_doc; drop trigger hi_tone_history_upd; drop trigger hi_tone_history_del; drop view hi_tone_with_history; alter table hi_tone drop column sys_period_start; alter table hi_tone drop column sys_period_end; drop table hi_tone_history; drop table if exists hi_tone; drop trigger hi_tthree_history_upd; drop trigger hi_tthree_history_del; drop view hi_tthree_with_history; alter table hi_tthree drop column sys_period_start; alter table hi_tthree drop column sys_period_end; drop table hi_tthree_history; drop table if exists hi_tthree; drop trigger hi_ttwo_history_upd; drop trigger hi_ttwo_history_del; drop view hi_ttwo_with_history; alter table hi_ttwo drop column sys_period_start; alter table hi_ttwo drop column sys_period_end; drop table hi_ttwo_history; drop table if exists hi_ttwo; drop trigger hsd_setting_history_upd; drop trigger hsd_setting_history_del; drop view hsd_setting_with_history; alter table hsd_setting drop column sys_period_start; alter table hsd_setting drop column sys_period_end; drop table hsd_setting_history; drop table if exists hsd_setting; drop trigger hsd_user_history_upd; drop trigger hsd_user_history_del; drop view hsd_user_with_history; alter table hsd_user drop column sys_period_start; alter table hsd_user drop column sys_period_end; drop table hsd_user_history; drop table if exists hsd_user; drop table if exists iaf_segment; drop table if exists iaf_segment_status; drop table if exists imrelated; drop table if exists imroot; drop table if exists ixresource; drop table if exists info_company; drop table if exists info_contact; drop table if exists info_customer; drop table if exists inner_report; drop table if exists drel_invoice; drop table if exists item; drop table if exists monkey; drop table if exists mkeygroup; drop table if exists mkeygroup_monkey; drop table if exists trainer; drop table if exists trainer_monkey; drop table if exists troop; drop table if exists troop_monkey; drop table if exists l2_cldf_reset_bean; drop table if exists l2_cldf_reset_bean_child; drop table if exists level1; drop table if exists level1_level4; drop table if exists level1_level2; drop table if exists level2; drop table if exists level2_level3; drop table if exists level3; drop table if exists level4; drop trigger link_history_upd; drop trigger link_history_del; drop view link_with_history; alter table link drop column sys_period_start; alter table link drop column sys_period_end; drop table link_history; drop table if exists link; drop table if exists link_draft; drop table if exists la_attr_value; drop table if exists la_attr_value_attribute; drop table if exists looney; drop table if exists maddress; drop table if exists mcontact; drop table if exists mcontact_message; drop table if exists mcustomer; drop table if exists mgroup; drop table if exists mmachine; drop table if exists mmachine_mgroup; drop table if exists mmedia; drop table if exists non_updateprop; drop table if exists mprinter; drop table if exists mprinter_state; drop table if exists mprofile; drop table if exists mprotected_construct_bean; drop table if exists mrole; drop table if exists mrole_muser; drop table if exists msome_other; drop table if exists muser; drop table if exists muser_type; drop table if exists mail_box; drop table if exists mail_user; drop table if exists mail_user_inbox; drop table if exists mail_user_outbox; drop table if exists main_entity; drop table if exists main_entity_relation; drop table if exists map_super_actual; drop table if exists c_message; drop table if exists meter_address_data; drop table if exists meter_contract_data; drop table if exists meter_special_needs_client; drop table if exists meter_special_needs_contact; drop table if exists meter_version; drop table if exists mnoc_role; drop table if exists mnoc_user; drop table if exists mnoc_user_mnoc_role; drop table if exists mny_a; drop table if exists mny_b; drop table if exists mny_b_mny_c; drop table if exists mny_c; drop table if exists mny_topic; drop table if exists subtopics; drop table if exists mp_role; drop table if exists mp_user; drop table if exists ms_many_a; drop table if exists ms_many_a_many_b; drop table if exists ms_many_b; drop table if exists ms_many_b_many_a; drop table if exists my_lob_size; drop table if exists my_lob_size_join_many; drop table if exists noidbean; drop table if exists o_bean_child; drop table if exists ocached_app; drop table if exists ocached_app_detail; drop table if exists o_cached_bean; drop table if exists o_cached_bean_country; drop table if exists o_cached_bean_child; drop table if exists o_cached_inherit; drop table if exists o_cached_natkey; drop table if exists o_cached_natkey3; drop table if exists ocached_nkey_uid; drop table if exists ocar; drop table if exists ocompany; drop table if exists oengine; drop table if exists ogear_box; drop table if exists omvertex; drop table if exists omvertex_other; drop table if exists oroad_show_msg; drop table if exists om_account_child_dbo; drop table if exists om_account_dbo; drop table if exists om_basic_child; drop table if exists om_basic_parent; drop table if exists om_ordered_detail; drop table if exists om_ordered_master; drop table if exists only_id_entity; drop table if exists o_order; drop table if exists o_order_detail; drop table if exists s_orders; drop table if exists s_order_items; drop table if exists or_order_ship; drop table if exists organisation; drop table if exists organization_node; drop table if exists organization_tree_node; drop table if exists orp_detail; drop table if exists orp_detail2; drop table if exists orp_master; drop table if exists orp_master2; drop table if exists oto_aone; drop table if exists oto_atwo; drop table if exists oto_bchild; drop table if exists oto_bmaster; drop table if exists oto_child; drop table if exists oto_cust; drop table if exists oto_cust_address; drop table if exists oto_level_a; drop table if exists oto_level_b; drop table if exists oto_level_c; drop table if exists oto_master; drop table if exists oto_prime; drop table if exists oto_prime_extra; drop table if exists oto_sd_child; drop table if exists oto_sd_master; drop table if exists oto_th_many; drop table if exists oto_th_one; drop table if exists oto_th_top; drop table if exists oto_ubprime; drop table if exists oto_ubprime_extra; drop table if exists oto_uprime; drop table if exists oto_uprime_extra; drop table if exists oto_user_model; drop table if exists oto_user_model_optional; drop table if exists pfile; drop table if exists pfile_content; drop table if exists paggview; drop table if exists pallet_location; drop table if exists parcel; drop table if exists parcel_location; drop table if exists rawinherit_parent; drop table if exists rawinherit_parent_rawinherit_data; drop table if exists e_save_test_c; drop table if exists parent_person; drop table if exists c_participation; drop table if exists password_store_model; drop table if exists pcf_calendar; drop table if exists pcf_city; drop table if exists pcf_country; drop table if exists pcf_event; drop table if exists pcf_person; drop table if exists mt_permission; drop table if exists persistent_file; drop table if exists persistent_file_content; drop table if exists person; drop table if exists persons; drop table if exists person_cache_email; drop table if exists person_cache_info; drop table if exists phones; drop table if exists e_position; drop table if exists primary_revision; drop table if exists o_product; drop table if exists pp; drop table if exists pp_to_ww; drop table if exists question; drop table if exists rcustomer; drop table if exists r_orders; drop table if exists referencing_bean; drop table if exists region; drop table if exists rel_detail; drop table if exists rel_master; drop table if exists resourcefile; drop table if exists mt_role; drop table if exists mt_role_permission; drop table if exists em_role; drop table if exists root_bean; drop table if exists f_second; drop table if exists section; drop table if exists self_parent; drop table if exists self_ref_customer; drop table if exists self_ref_example; drop table if exists e_save_test_a; drop table if exists e_save_test_b; drop table if exists site; drop table if exists site_address; drop table if exists some_enum_bean; drop table if exists some_file_bean; drop table if exists some_new_types_bean; drop table if exists some_period_bean; drop table if exists source_base; drop table if exists stockforecast; drop table if exists sub_section; drop table if exists sub_type; drop table if exists survey; drop table if exists tbytes_only; drop table if exists tcar; drop table if exists tevent; drop table if exists tevent_many; drop table if exists tevent_one; drop table if exists tint_root; drop table if exists tjoda_entity; drop table if exists t_mapsuper1; drop table if exists t_oneb; drop table if exists t_detail_with_other_namexxxyy; drop table if exists t_atable_thatisrelatively; drop table if exists ttruck_holder; drop table if exists ttruck_holder_item; drop table if exists tuuid_entity; drop table if exists twheel; drop table if exists twith_pre_insert; drop table if exists target_base; drop table if exists mt_tenant; drop table if exists test_annotation_base_entity; drop table if exists tire; drop table if exists sa_tire; drop table if exists tree_entity; drop table if exists trip; drop table if exists truck_ref; drop table if exists tune; drop table if exists `type`; drop table if exists tz_bean; drop table if exists usib_child; drop table if exists usib_child_sibling; drop table if exists usib_parent; drop table if exists ut_detail; drop table if exists ut_master; drop table if exists uuone; drop table if exists uutwo; drop table if exists oto_user; drop trigger c_user_history_upd; drop trigger c_user_history_del; drop view c_user_with_history; alter table c_user drop column sys_period_start; alter table c_user drop column sys_period_end; drop table c_user_history; drop table if exists c_user; drop table if exists tx_user; drop table if exists g_user; drop table if exists em_user; drop table if exists user_interest_live; drop table if exists em_user_role; drop table if exists vehicle; drop table if exists vehicle_driver; drop table if exists vehicle_lease; drop table if exists warehouses; drop table if exists warehousesshippingzones; drop table if exists wheel; drop table if exists sa_wheel; drop table if exists sp_car_wheel; drop table if exists g_who_props_otm; drop table if exists with_zero; drop table if exists parent; drop table if exists wview; drop table if exists zones; drop index ix_contact_last_name_first_name on contact; drop index ix_e_basic_name on e_basic; drop index ix_efile2_no_fk_owner_id on efile2_no_fk; drop index ix_ecsm_values_host_id on ecsm_values; drop index ix_organization_node_kind on organization_node;