mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-23 16:47:18 +00:00
Add ddl-review with sql/ddl for the various databases, can review/diff over time
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,936 @@
|
||||
alter table bar drop constraint fk_bar_foo_id;
|
||||
drop index ix_bar_foo_id;
|
||||
|
||||
alter table o_address drop constraint fk_o_address_country_code;
|
||||
drop index ix_o_address_country_code;
|
||||
|
||||
alter table animals drop constraint fk_animals_shelter_id;
|
||||
drop index ix_animals_shelter_id;
|
||||
|
||||
alter table attribute drop constraint fk_attribute_attribute_holder_1;
|
||||
drop index ix_attribute_attribute_holder_1;
|
||||
|
||||
alter table bbookmark drop constraint fk_bbookmark_user_id;
|
||||
drop index ix_bbookmark_user_id;
|
||||
|
||||
alter table drel_booking drop constraint fk_drel_booking_agent_invoice;
|
||||
|
||||
alter table drel_booking drop constraint fk_drel_booking_client_invoice;
|
||||
|
||||
alter table ckey_detail drop constraint fk_ckey_detail_ckey_parent;
|
||||
drop index ix_ckey_detail_one_key_two_key;
|
||||
|
||||
alter table ckey_parent drop constraint fk_ckey_parent_assoc_id;
|
||||
drop index ix_ckey_parent_assoc_id;
|
||||
|
||||
alter table calculation_result drop constraint fk_calculation_result_product_1;
|
||||
drop index ix_calculation_result_product_1;
|
||||
|
||||
alter table calculation_result drop constraint fk_calculation_result_group_c_2;
|
||||
drop index ix_calculation_result_group_c_2;
|
||||
|
||||
alter table sp_car_car_wheels drop constraint fk_sp_car_car_wheels_sp_car_car;
|
||||
drop index ix_sp_car_car_wheels_car;
|
||||
|
||||
alter table sp_car_car_wheels drop constraint fk_sp_car_car_wheels_sp_car_w_2;
|
||||
drop index ix_sp_car_car_wheels_wheel;
|
||||
|
||||
alter table car_accessory drop constraint fk_car_accessory_car_id;
|
||||
drop index ix_car_accessory_car_id;
|
||||
|
||||
alter table configuration drop constraint fk_configuration_configuratio_1;
|
||||
drop index ix_configuration_configuratio_1;
|
||||
|
||||
alter table contact drop constraint fk_contact_customer_id;
|
||||
drop index ix_contact_customer_id;
|
||||
|
||||
alter table contact drop constraint fk_contact_group_id;
|
||||
drop index ix_contact_group_id;
|
||||
|
||||
alter table contact_note drop constraint fk_contact_note_contact_id;
|
||||
drop index ix_contact_note_contact_id;
|
||||
|
||||
alter table c_conversation drop constraint fk_c_conversation_group_id;
|
||||
drop index ix_c_conversation_group_id;
|
||||
|
||||
alter table o_customer drop constraint fk_o_customer_billing_address_1;
|
||||
drop index ix_o_customer_billing_address_1;
|
||||
|
||||
alter table o_customer drop constraint fk_o_customer_shipping_addres_2;
|
||||
drop index ix_o_customer_shipping_addres_2;
|
||||
|
||||
alter table eemb_inner drop constraint fk_eemb_inner_outer_id;
|
||||
drop index ix_eemb_inner_outer_id;
|
||||
|
||||
alter table einvoice drop constraint fk_einvoice_person_id;
|
||||
drop index ix_einvoice_person_id;
|
||||
|
||||
alter table enull_collection_detail drop constraint fk_enull_collection_detail_en_1;
|
||||
drop index ix_enull_collection_detail_en_1;
|
||||
|
||||
alter table eopt_one_a drop constraint fk_eopt_one_a_b_id;
|
||||
drop index ix_eopt_one_a_b_id;
|
||||
|
||||
alter table eopt_one_b drop constraint fk_eopt_one_b_c_id;
|
||||
drop index ix_eopt_one_b_c_id;
|
||||
|
||||
alter table evanilla_collection_detail drop constraint fk_evanilla_collection_detail_1;
|
||||
drop index ix_evanilla_collection_detail_1;
|
||||
|
||||
alter table td_child drop constraint fk_td_child_parent_id;
|
||||
drop index ix_td_child_parent_id;
|
||||
|
||||
alter table imrelated drop constraint fk_imrelated_owner_id;
|
||||
drop index ix_imrelated_owner_id;
|
||||
|
||||
alter table info_contact drop constraint fk_info_contact_company_id;
|
||||
drop index ix_info_contact_company_id;
|
||||
|
||||
alter table info_customer drop constraint fk_info_customer_company_id;
|
||||
|
||||
alter table inner_report drop constraint fk_inner_report_forecast_id;
|
||||
|
||||
alter table drel_invoice drop constraint fk_drel_invoice_booking;
|
||||
drop index ix_drel_invoice_booking;
|
||||
|
||||
alter table item drop constraint fk_item_type;
|
||||
drop index ix_item_customer_type;
|
||||
|
||||
alter table item drop constraint fk_item_region;
|
||||
drop index ix_item_customer_region;
|
||||
|
||||
alter table level1_level4 drop constraint fk_level1_level4_level1;
|
||||
drop index ix_level1_level4_level1_id;
|
||||
|
||||
alter table level1_level4 drop constraint fk_level1_level4_level4;
|
||||
drop index ix_level1_level4_level4_id;
|
||||
|
||||
alter table level1_level2 drop constraint fk_level1_level2_level1;
|
||||
drop index ix_level1_level2_level1_id;
|
||||
|
||||
alter table level1_level2 drop constraint fk_level1_level2_level2;
|
||||
drop index ix_level1_level2_level2_id;
|
||||
|
||||
alter table level2_level3 drop constraint fk_level2_level3_level2;
|
||||
drop index ix_level2_level3_level2_id;
|
||||
|
||||
alter table level2_level3 drop constraint fk_level2_level3_level3;
|
||||
drop index ix_level2_level3_level3_id;
|
||||
|
||||
alter table la_attr_value_attribute drop constraint fk_la_attr_value_attribute_la_1;
|
||||
drop index ix_la_attr_value_attribute_la_1;
|
||||
|
||||
alter table la_attr_value_attribute drop constraint fk_la_attr_value_attribute_at_2;
|
||||
drop index ix_la_attr_value_attribute_at_2;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_current_state_id;
|
||||
drop index ix_mprinter_current_state_id;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_cyan_id;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_magenta_3;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_yellow_id;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_black_id;
|
||||
|
||||
alter table mprinter_state drop constraint fk_mprinter_state_printer_id;
|
||||
drop index ix_mprinter_state_printer_id;
|
||||
|
||||
alter table mprofile drop constraint fk_mprofile_picture_id;
|
||||
drop index ix_mprofile_picture_id;
|
||||
|
||||
alter table mrole_muser drop constraint fk_mrole_muser_mrole;
|
||||
drop index ix_mrole_muser_mrole_roleid;
|
||||
|
||||
alter table mrole_muser drop constraint fk_mrole_muser_muser;
|
||||
drop index ix_mrole_muser_muser_userid;
|
||||
|
||||
alter table muser drop constraint fk_muser_user_type_id;
|
||||
drop index ix_muser_user_type_id;
|
||||
|
||||
alter table c_message drop constraint fk_c_message_conversation_id;
|
||||
drop index ix_c_message_conversation_id;
|
||||
|
||||
alter table c_message drop constraint fk_c_message_user_id;
|
||||
drop index ix_c_message_user_id;
|
||||
|
||||
alter table mnoc_user_mnoc_role drop constraint fk_mnoc_user_mnoc_role_mnoc_u_1;
|
||||
drop index ix_mnoc_user_mnoc_role_mnoc_u_1;
|
||||
|
||||
alter table mnoc_user_mnoc_role drop constraint fk_mnoc_user_mnoc_role_mnoc_r_2;
|
||||
drop index ix_mnoc_user_mnoc_role_mnoc_r_2;
|
||||
|
||||
alter table mp_role drop constraint fk_mp_role_mp_user_id;
|
||||
drop index ix_mp_role_mp_user_id;
|
||||
|
||||
alter table my_lob_size_join_many drop constraint fk_my_lob_size_join_many_pare_1;
|
||||
drop index ix_my_lob_size_join_many_pare_1;
|
||||
|
||||
alter table o_cached_bean_country drop constraint fk_o_cached_bean_country_o_ca_1;
|
||||
drop index ix_o_cached_bean_country_o_ca_1;
|
||||
|
||||
alter table o_cached_bean_country drop constraint fk_o_cached_bean_country_o_co_2;
|
||||
drop index ix_o_cached_bean_country_o_co_2;
|
||||
|
||||
alter table o_cached_bean_child drop constraint fk_o_cached_bean_child_cached_1;
|
||||
drop index ix_o_cached_bean_child_cached_1;
|
||||
|
||||
alter table oengine drop constraint fk_oengine_car_id;
|
||||
|
||||
alter table ogear_box drop constraint fk_ogear_box_car_id;
|
||||
|
||||
alter table o_order drop constraint fk_o_order_kcustomer_id;
|
||||
drop index ix_o_order_kcustomer_id;
|
||||
|
||||
alter table o_order_detail drop constraint fk_o_order_detail_order_id;
|
||||
drop index ix_o_order_detail_order_id;
|
||||
|
||||
alter table o_order_detail drop constraint fk_o_order_detail_product_id;
|
||||
drop index ix_o_order_detail_product_id;
|
||||
|
||||
alter table s_order_items drop constraint fk_s_order_items_order_uuid;
|
||||
drop index ix_s_order_items_order_uuid;
|
||||
|
||||
alter table or_order_ship drop constraint fk_or_order_ship_order_id;
|
||||
drop index ix_or_order_ship_order_id;
|
||||
|
||||
alter table oto_child drop constraint fk_oto_child_master_id;
|
||||
|
||||
alter table pfile drop constraint fk_pfile_file_content_id;
|
||||
|
||||
alter table pfile drop constraint fk_pfile_file_content2_id;
|
||||
|
||||
alter table paggview drop constraint fk_paggview_pview_id;
|
||||
|
||||
alter table pallet_location drop constraint fk_pallet_location_zone_sid;
|
||||
drop index ix_pallet_location_zone_sid;
|
||||
|
||||
alter table parcel_location drop constraint fk_parcel_location_parcelid;
|
||||
|
||||
alter table rawinherit_parent_rawinherit_dat drop constraint fk_rawinherit_parent_rawinher_1;
|
||||
drop index ix_rawinherit_parent_rawinher_1;
|
||||
|
||||
alter table rawinherit_parent_rawinherit_dat drop constraint fk_rawinherit_parent_rawinher_2;
|
||||
drop index ix_rawinherit_parent_rawinher_2;
|
||||
|
||||
alter table c_participation drop constraint fk_c_participation_conversati_1;
|
||||
drop index ix_c_participation_conversati_1;
|
||||
|
||||
alter table c_participation drop constraint fk_c_participation_user_id;
|
||||
drop index ix_c_participation_user_id;
|
||||
|
||||
alter table persistent_file_content drop constraint fk_persistent_file_content_pe_1;
|
||||
|
||||
alter table person drop constraint fk_person_default_address_oid;
|
||||
drop index ix_person_default_address_oid;
|
||||
|
||||
alter table phones drop constraint fk_phones_person_id;
|
||||
drop index ix_phones_person_id;
|
||||
|
||||
alter table pp_to_ww drop constraint fk_pp_to_ww_pp;
|
||||
drop index ix_pp_to_ww_pp_id;
|
||||
|
||||
alter table pp_to_ww drop constraint fk_pp_to_ww_wview;
|
||||
drop index ix_pp_to_ww_ww_id;
|
||||
|
||||
alter table r_orders drop constraint fk_r_orders_rcustomer;
|
||||
drop index ix_r_orders_company_customern_1;
|
||||
|
||||
alter table resourcefile drop constraint fk_resourcefile_parentresourc_1;
|
||||
drop index ix_resourcefile_parentresourc_1;
|
||||
|
||||
alter table mt_role drop constraint fk_mt_role_tenant_id;
|
||||
drop index ix_mt_role_tenant_id;
|
||||
|
||||
alter table mt_role_permission drop constraint fk_mt_role_permission_mt_role;
|
||||
drop index ix_mt_role_permission_mt_role_1;
|
||||
|
||||
alter table mt_role_permission drop constraint fk_mt_role_permission_mt_perm_2;
|
||||
drop index ix_mt_role_permission_mt_perm_2;
|
||||
|
||||
alter table f_second drop constraint fk_f_second_first;
|
||||
|
||||
alter table section drop constraint fk_section_article_id;
|
||||
drop index ix_section_article_id;
|
||||
|
||||
alter table self_parent drop constraint fk_self_parent_parent_id;
|
||||
drop index ix_self_parent_parent_id;
|
||||
|
||||
alter table self_ref_customer drop constraint fk_self_ref_customer_referred_1;
|
||||
drop index ix_self_ref_customer_referred_1;
|
||||
|
||||
alter table self_ref_example drop constraint fk_self_ref_example_parent_id;
|
||||
drop index ix_self_ref_example_parent_id;
|
||||
|
||||
alter table stockforecast drop constraint fk_stockforecast_inner_report_1;
|
||||
drop index ix_stockforecast_inner_report_1;
|
||||
|
||||
alter table sub_section drop constraint fk_sub_section_section_id;
|
||||
drop index ix_sub_section_section_id;
|
||||
|
||||
alter table t_detail_with_other_namexxxyy drop constraint fk_t_detail_with_other_namexx_1;
|
||||
drop index ix_t_detail_with_other_namexx_1;
|
||||
|
||||
alter table ts_detail_two drop constraint fk_ts_detail_two_master_id;
|
||||
drop index ix_ts_detail_two_master_id;
|
||||
|
||||
alter table twheel drop constraint fk_twheel_owner_plate_no;
|
||||
drop index ix_twheel_owner_plate_no;
|
||||
|
||||
alter table tire drop constraint fk_tire_wheel;
|
||||
|
||||
alter table trip drop constraint fk_trip_vehicle_driver_id;
|
||||
drop index ix_trip_vehicle_driver_id;
|
||||
|
||||
alter table trip drop constraint fk_trip_address_id;
|
||||
drop index ix_trip_address_id;
|
||||
|
||||
alter table type drop constraint fk_type_sub_type_id;
|
||||
drop index ix_type_sub_type_id;
|
||||
|
||||
alter table ut_detail drop constraint fk_ut_detail_utmaster_id;
|
||||
drop index ix_ut_detail_utmaster_id;
|
||||
|
||||
alter table uutwo drop constraint fk_uutwo_master_id;
|
||||
drop index ix_uutwo_master_id;
|
||||
|
||||
alter table c_user drop constraint fk_c_user_group_id;
|
||||
drop index ix_c_user_group_id;
|
||||
|
||||
alter table oto_user drop constraint fk_oto_user_account_id;
|
||||
|
||||
alter table em_user_role drop constraint fk_em_user_role_user_id;
|
||||
drop index ix_em_user_role_user_id;
|
||||
|
||||
alter table em_user_role drop constraint fk_em_user_role_role_id;
|
||||
drop index ix_em_user_role_role_id;
|
||||
|
||||
alter table vehicle drop constraint fk_vehicle_truck_ref_id;
|
||||
drop index ix_vehicle_truck_ref_id;
|
||||
|
||||
alter table vehicle drop constraint fk_vehicle_car_ref_id;
|
||||
drop index ix_vehicle_car_ref_id;
|
||||
|
||||
alter table vehicle_driver drop constraint fk_vehicle_driver_vehicle_id;
|
||||
drop index ix_vehicle_driver_vehicle_id;
|
||||
|
||||
alter table vehicle_driver drop constraint fk_vehicle_driver_address_id;
|
||||
drop index ix_vehicle_driver_address_id;
|
||||
|
||||
alter table warehouses drop constraint fk_warehouses_officezoneid;
|
||||
drop index ix_warehouses_officezoneid;
|
||||
|
||||
alter table warehousesshippingzones drop constraint fk_warehousesshippingzones_wa_1;
|
||||
drop index ix_warehousesshippingzones_wa_1;
|
||||
|
||||
alter table warehousesshippingzones drop constraint fk_warehousesshippingzones_zo_2;
|
||||
drop index ix_warehousesshippingzones_sh_2;
|
||||
|
||||
alter table sa_wheel drop constraint fk_sa_wheel_tire;
|
||||
drop index ix_sa_wheel_tire;
|
||||
|
||||
alter table sa_wheel drop constraint fk_sa_wheel_car;
|
||||
drop index ix_sa_wheel_car;
|
||||
|
||||
alter table with_zero drop constraint fk_with_zero_parent_id;
|
||||
drop index ix_with_zero_parent_id;
|
||||
|
||||
drop table if exists asimple_bean;
|
||||
drop sequence if exists asimple_bean_seq;
|
||||
|
||||
drop table if exists bar;
|
||||
drop sequence if exists bar_seq;
|
||||
|
||||
drop table if exists oto_account;
|
||||
drop sequence if exists oto_account_seq;
|
||||
|
||||
drop table if exists o_address;
|
||||
drop sequence if exists o_address_seq;
|
||||
|
||||
drop table if exists address;
|
||||
drop sequence if exists address_seq;
|
||||
|
||||
drop table if exists animals;
|
||||
drop sequence if exists animals_seq;
|
||||
|
||||
drop table if exists animal_shelter;
|
||||
drop sequence if exists animal_shelter_seq;
|
||||
|
||||
drop table if exists article;
|
||||
drop sequence if exists article_seq;
|
||||
|
||||
drop table if exists attribute;
|
||||
drop sequence if exists attribute_seq;
|
||||
|
||||
drop table if exists attribute_holder;
|
||||
drop sequence if exists attribute_holder_seq;
|
||||
|
||||
drop table if exists audit_log;
|
||||
drop sequence if exists audit_log_seq;
|
||||
|
||||
drop table if exists bbookmark;
|
||||
drop sequence if exists bbookmark_seq;
|
||||
|
||||
drop table if exists bbookmark_user;
|
||||
drop sequence if exists bbookmark_user_seq;
|
||||
|
||||
drop table if exists bsimple_with_gen;
|
||||
drop sequence if exists bsimple_with_gen_seq;
|
||||
|
||||
drop table if exists bwith_qident;
|
||||
drop sequence if exists bwith_qident_seq;
|
||||
|
||||
drop table if exists basic_joda_entity;
|
||||
drop sequence if exists basic_joda_entity_seq;
|
||||
|
||||
drop table if exists bean_with_time_zone;
|
||||
drop sequence if exists bean_with_time_zone_seq;
|
||||
|
||||
drop table if exists drel_booking;
|
||||
drop sequence if exists drel_booking_seq;
|
||||
|
||||
drop table if exists ckey_assoc;
|
||||
drop sequence if exists ckey_assoc_seq;
|
||||
|
||||
drop table if exists ckey_detail;
|
||||
drop sequence if exists ckey_detail_seq;
|
||||
|
||||
drop table if exists ckey_parent;
|
||||
|
||||
drop table if exists calculation_result;
|
||||
drop sequence if exists calculation_result_seq;
|
||||
|
||||
drop table if exists cao_bean;
|
||||
|
||||
drop table if exists sa_car;
|
||||
drop sequence if exists sa_car_seq;
|
||||
|
||||
drop table if exists sp_car_car;
|
||||
drop sequence if exists sp_car_car_seq;
|
||||
|
||||
drop table if exists sp_car_car_wheels;
|
||||
|
||||
drop table if exists car_accessory;
|
||||
drop sequence if exists car_accessory_seq;
|
||||
|
||||
drop table if exists configuration;
|
||||
drop sequence if exists configuration_seq;
|
||||
|
||||
drop table if exists configurations;
|
||||
drop sequence if exists configurations_seq;
|
||||
|
||||
drop table if exists contact;
|
||||
drop sequence if exists contact_seq;
|
||||
|
||||
drop table if exists contact_group;
|
||||
drop sequence if exists contact_group_seq;
|
||||
|
||||
drop table if exists contact_note;
|
||||
drop sequence if exists contact_note_seq;
|
||||
|
||||
drop table if exists c_conversation;
|
||||
drop sequence if exists c_conversation_seq;
|
||||
|
||||
drop table if exists o_country;
|
||||
|
||||
drop table if exists o_customer;
|
||||
drop sequence if exists o_customer_seq;
|
||||
|
||||
drop table if exists dexh_entity;
|
||||
drop sequence if exists dexh_entity_seq;
|
||||
|
||||
drop table if exists dperson;
|
||||
drop sequence if exists dperson_seq;
|
||||
|
||||
drop table if exists rawinherit_data;
|
||||
drop sequence if exists rawinherit_data_seq;
|
||||
|
||||
drop table if exists e_basic;
|
||||
drop sequence if exists e_basic_seq;
|
||||
|
||||
drop table if exists ebasic_clob;
|
||||
drop sequence if exists ebasic_clob_seq;
|
||||
|
||||
drop table if exists ebasic_clob_fetch_eager;
|
||||
drop sequence if exists ebasic_clob_fetch_eager_seq;
|
||||
|
||||
drop table if exists ebasic_clob_no_ver;
|
||||
drop sequence if exists ebasic_clob_no_ver_seq;
|
||||
|
||||
drop table if exists e_basicenc;
|
||||
drop sequence if exists e_basicenc_seq;
|
||||
|
||||
drop table if exists e_basicenc_bin;
|
||||
drop sequence if exists e_basicenc_bin_seq;
|
||||
|
||||
drop table if exists e_basic_enum_id;
|
||||
|
||||
drop table if exists ebasic_json_map;
|
||||
drop sequence if exists ebasic_json_map_seq;
|
||||
|
||||
drop table if exists ebasic_json_map_blob;
|
||||
drop sequence if exists ebasic_json_map_blob_seq;
|
||||
|
||||
drop table if exists ebasic_json_map_clob;
|
||||
drop sequence if exists ebasic_json_map_clob_seq;
|
||||
|
||||
drop table if exists ebasic_json_map_json_b;
|
||||
drop sequence if exists ebasic_json_map_json_b_seq;
|
||||
|
||||
drop table if exists ebasic_json_map_varchar;
|
||||
drop sequence if exists ebasic_json_map_varchar_seq;
|
||||
|
||||
drop table if exists ebasic_json_node;
|
||||
drop sequence if exists ebasic_json_node_seq;
|
||||
|
||||
drop table if exists ebasic_json_node_blob;
|
||||
drop sequence if exists ebasic_json_node_blob_seq;
|
||||
|
||||
drop table if exists ebasic_json_node_json_b;
|
||||
drop sequence if exists ebasic_json_node_json_b_seq;
|
||||
|
||||
drop table if exists ebasic_json_node_varchar;
|
||||
drop sequence if exists ebasic_json_node_varchar_seq;
|
||||
|
||||
drop table if exists e_basic_ndc;
|
||||
drop sequence if exists e_basic_ndc_seq;
|
||||
|
||||
drop table if exists e_basicver;
|
||||
drop sequence if exists e_basicver_seq;
|
||||
|
||||
drop table if exists e_basic_withlife;
|
||||
drop sequence if exists e_basic_withlife_seq;
|
||||
|
||||
drop table if exists e_basicverucon;
|
||||
drop sequence if exists e_basicverucon_seq;
|
||||
|
||||
drop table if exists eemb_inner;
|
||||
drop sequence if exists eemb_inner_seq;
|
||||
|
||||
drop table if exists eemb_outer;
|
||||
drop sequence if exists eemb_outer_seq;
|
||||
|
||||
drop table if exists egen_props;
|
||||
drop sequence if exists egen_props_seq;
|
||||
|
||||
drop table if exists einvoice;
|
||||
drop sequence if exists einvoice_seq;
|
||||
|
||||
drop table if exists e_main;
|
||||
drop sequence if exists e_main_seq;
|
||||
|
||||
drop table if exists enull_collection;
|
||||
drop sequence if exists enull_collection_seq;
|
||||
|
||||
drop table if exists enull_collection_detail;
|
||||
drop sequence if exists enull_collection_detail_seq;
|
||||
|
||||
drop table if exists eopt_one_a;
|
||||
drop sequence if exists eopt_one_a_seq;
|
||||
|
||||
drop table if exists eopt_one_b;
|
||||
drop sequence if exists eopt_one_b_seq;
|
||||
|
||||
drop table if exists eopt_one_c;
|
||||
drop sequence if exists eopt_one_c_seq;
|
||||
|
||||
drop table if exists eperson;
|
||||
drop sequence if exists eperson_seq;
|
||||
|
||||
drop table if exists esimple;
|
||||
|
||||
drop table if exists esome_type;
|
||||
drop sequence if exists esome_type_seq;
|
||||
|
||||
drop table if exists etrans_many;
|
||||
drop sequence if exists etrans_many_seq;
|
||||
|
||||
drop table if exists evanilla_collection;
|
||||
drop sequence if exists evanilla_collection_seq;
|
||||
|
||||
drop table if exists evanilla_collection_detail;
|
||||
drop sequence if exists evanilla_collection_detail_seq;
|
||||
|
||||
drop table if exists ewho_props;
|
||||
drop sequence if exists ewho_props_seq;
|
||||
|
||||
drop table if exists e_withinet;
|
||||
drop sequence if exists e_withinet_seq;
|
||||
|
||||
drop table if exists td_child;
|
||||
drop sequence if exists td_child_seq;
|
||||
|
||||
drop table if exists td_parent;
|
||||
drop sequence if exists td_parent_seq;
|
||||
|
||||
drop table if exists feature_desc;
|
||||
drop sequence if exists feature_desc_seq;
|
||||
|
||||
drop table if exists f_first;
|
||||
drop sequence if exists f_first_seq;
|
||||
|
||||
drop table if exists foo;
|
||||
drop sequence if exists foo_seq;
|
||||
|
||||
drop table if exists gen_key_identity;
|
||||
|
||||
drop table if exists gen_key_sequence;
|
||||
drop sequence if exists seq;
|
||||
|
||||
drop table if exists gen_key_table;
|
||||
drop sequence if exists gen_key_table_seq;
|
||||
|
||||
drop table if exists c_group;
|
||||
drop sequence if exists c_group_seq;
|
||||
|
||||
drop table if exists imrelated;
|
||||
drop sequence if exists imrelated_seq;
|
||||
|
||||
drop table if exists imroot;
|
||||
drop sequence if exists imroot_seq;
|
||||
|
||||
drop table if exists ixresource;
|
||||
|
||||
drop table if exists info_company;
|
||||
drop sequence if exists info_company_seq;
|
||||
|
||||
drop table if exists info_contact;
|
||||
drop sequence if exists info_contact_seq;
|
||||
|
||||
drop table if exists info_customer;
|
||||
drop sequence if exists info_customer_seq;
|
||||
|
||||
drop table if exists inner_report;
|
||||
drop sequence if exists inner_report_seq;
|
||||
|
||||
drop table if exists drel_invoice;
|
||||
drop sequence if exists drel_invoice_seq;
|
||||
|
||||
drop table if exists item;
|
||||
|
||||
drop table if exists level1;
|
||||
drop sequence if exists level1_seq;
|
||||
|
||||
drop table if exists level1_level4;
|
||||
|
||||
drop table if exists level1_level2;
|
||||
|
||||
drop table if exists level2;
|
||||
drop sequence if exists level2_seq;
|
||||
|
||||
drop table if exists level2_level3;
|
||||
|
||||
drop table if exists level3;
|
||||
drop sequence if exists level3_seq;
|
||||
|
||||
drop table if exists level4;
|
||||
drop sequence if exists level4_seq;
|
||||
|
||||
drop table if exists la_attr_value;
|
||||
drop sequence if exists la_attr_value_seq;
|
||||
|
||||
drop table if exists la_attr_value_attribute;
|
||||
|
||||
drop table if exists mmedia;
|
||||
drop sequence if exists mmedia_seq;
|
||||
|
||||
drop table if exists non_updateprop;
|
||||
drop sequence if exists non_updateprop_seq;
|
||||
|
||||
drop table if exists mprinter;
|
||||
drop sequence if exists mprinter_seq;
|
||||
|
||||
drop table if exists mprinter_state;
|
||||
drop sequence if exists mprinter_state_seq;
|
||||
|
||||
drop table if exists mprofile;
|
||||
drop sequence if exists mprofile_seq;
|
||||
|
||||
drop table if exists mprotected_construct_bean;
|
||||
drop sequence if exists mprotected_construct_bean_seq;
|
||||
|
||||
drop table if exists mrole;
|
||||
drop sequence if exists mrole_seq;
|
||||
|
||||
drop table if exists mrole_muser;
|
||||
|
||||
drop table if exists msome_other;
|
||||
drop sequence if exists msome_other_seq;
|
||||
|
||||
drop table if exists muser;
|
||||
drop sequence if exists muser_seq;
|
||||
|
||||
drop table if exists muser_type;
|
||||
drop sequence if exists muser_type_seq;
|
||||
|
||||
drop table if exists map_super_actual;
|
||||
drop sequence if exists map_super_actual_seq;
|
||||
|
||||
drop table if exists c_message;
|
||||
drop sequence if exists c_message_seq;
|
||||
|
||||
drop table if exists mnoc_role;
|
||||
drop sequence if exists mnoc_role_seq;
|
||||
|
||||
drop table if exists mnoc_user;
|
||||
drop sequence if exists mnoc_user_seq;
|
||||
|
||||
drop table if exists mnoc_user_mnoc_role;
|
||||
|
||||
drop table if exists mp_role;
|
||||
drop sequence if exists mp_role_seq;
|
||||
|
||||
drop table if exists mp_user;
|
||||
drop sequence if exists mp_user_seq;
|
||||
|
||||
drop table if exists my_lob_size;
|
||||
drop sequence if exists my_lob_size_seq;
|
||||
|
||||
drop table if exists my_lob_size_join_many;
|
||||
drop sequence if exists my_lob_size_join_many_seq;
|
||||
|
||||
drop table if exists noidbean;
|
||||
|
||||
drop table if exists o_cached_bean;
|
||||
drop sequence if exists o_cached_bean_seq;
|
||||
|
||||
drop table if exists o_cached_bean_country;
|
||||
|
||||
drop table if exists o_cached_bean_child;
|
||||
drop sequence if exists o_cached_bean_child_seq;
|
||||
|
||||
drop table if exists ocar;
|
||||
drop sequence if exists ocar_seq;
|
||||
|
||||
drop table if exists oengine;
|
||||
|
||||
drop table if exists ogear_box;
|
||||
|
||||
drop table if exists o_order;
|
||||
drop sequence if exists o_order_seq;
|
||||
|
||||
drop table if exists o_order_detail;
|
||||
drop sequence if exists o_order_detail_seq;
|
||||
|
||||
drop table if exists s_orders;
|
||||
|
||||
drop table if exists s_order_items;
|
||||
|
||||
drop table if exists or_order_ship;
|
||||
drop sequence if exists or_order_ship_seq;
|
||||
|
||||
drop table if exists oto_child;
|
||||
drop sequence if exists oto_child_seq;
|
||||
|
||||
drop table if exists oto_master;
|
||||
drop sequence if exists oto_master_seq;
|
||||
|
||||
drop table if exists pfile;
|
||||
drop sequence if exists pfile_seq;
|
||||
|
||||
drop table if exists pfile_content;
|
||||
drop sequence if exists pfile_content_seq;
|
||||
|
||||
drop table if exists paggview;
|
||||
|
||||
drop table if exists pallet_location;
|
||||
drop sequence if exists pallet_location_seq;
|
||||
|
||||
drop table if exists parcel;
|
||||
drop sequence if exists parcel_seq;
|
||||
|
||||
drop table if exists parcel_location;
|
||||
drop sequence if exists parcel_location_seq;
|
||||
|
||||
drop table if exists rawinherit_parent;
|
||||
drop sequence if exists rawinherit_parent_seq;
|
||||
|
||||
drop table if exists rawinherit_parent_rawinherit_dat;
|
||||
|
||||
drop table if exists c_participation;
|
||||
drop sequence if exists c_participation_seq;
|
||||
|
||||
drop table if exists mt_permission;
|
||||
|
||||
drop table if exists persistent_file;
|
||||
drop sequence if exists persistent_file_seq;
|
||||
|
||||
drop table if exists persistent_file_content;
|
||||
drop sequence if exists persistent_file_content_seq;
|
||||
|
||||
drop table if exists persons;
|
||||
drop sequence if exists persons_seq;
|
||||
|
||||
drop table if exists person;
|
||||
drop sequence if exists person_seq;
|
||||
|
||||
drop table if exists phones;
|
||||
drop sequence if exists phones_seq;
|
||||
|
||||
drop table if exists o_product;
|
||||
drop sequence if exists o_product_seq;
|
||||
|
||||
drop table if exists pp;
|
||||
|
||||
drop table if exists pp_to_ww;
|
||||
|
||||
drop table if exists rcustomer;
|
||||
|
||||
drop table if exists r_orders;
|
||||
|
||||
drop table if exists region;
|
||||
|
||||
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 sequence if exists em_role_seq;
|
||||
|
||||
drop table if exists f_second;
|
||||
drop sequence if exists f_second_seq;
|
||||
|
||||
drop table if exists section;
|
||||
drop sequence if exists section_seq;
|
||||
|
||||
drop table if exists self_parent;
|
||||
drop sequence if exists self_parent_seq;
|
||||
|
||||
drop table if exists self_ref_customer;
|
||||
drop sequence if exists self_ref_customer_seq;
|
||||
|
||||
drop table if exists self_ref_example;
|
||||
drop sequence if exists self_ref_example_seq;
|
||||
|
||||
drop table if exists some_enum_bean;
|
||||
drop sequence if exists some_enum_bean_seq;
|
||||
|
||||
drop table if exists some_file_bean;
|
||||
drop sequence if exists some_file_bean_seq;
|
||||
|
||||
drop table if exists some_new_types_bean;
|
||||
drop sequence if exists some_new_types_bean_seq;
|
||||
|
||||
drop table if exists some_period_bean;
|
||||
drop sequence if exists some_period_bean_seq;
|
||||
|
||||
drop table if exists stockforecast;
|
||||
drop sequence if exists stockforecast_seq;
|
||||
|
||||
drop table if exists sub_section;
|
||||
drop sequence if exists sub_section_seq;
|
||||
|
||||
drop table if exists sub_type;
|
||||
drop sequence if exists sub_type_seq;
|
||||
|
||||
drop table if exists tbytes_only;
|
||||
drop sequence if exists tbytes_only_seq;
|
||||
|
||||
drop table if exists tcar;
|
||||
|
||||
drop table if exists tint_root;
|
||||
drop sequence if exists tint_root_seq;
|
||||
|
||||
drop table if exists tjoda_entity;
|
||||
drop sequence if exists tjoda_entity_seq;
|
||||
|
||||
drop table if exists t_mapsuper1;
|
||||
drop sequence if exists t_mapsuper1_seq;
|
||||
|
||||
drop table if exists t_oneb;
|
||||
drop sequence if exists t_oneb_seq;
|
||||
|
||||
drop table if exists t_detail_with_other_namexxxyy;
|
||||
drop sequence if exists t_atable_detail_seq;
|
||||
|
||||
drop table if exists ts_detail_two;
|
||||
drop sequence if exists ts_detail_two_seq;
|
||||
|
||||
drop table if exists t_atable_thatisrelatively;
|
||||
drop sequence if exists t_atable_master_seq;
|
||||
|
||||
drop table if exists ts_master_two;
|
||||
drop sequence if exists ts_master_two_seq;
|
||||
|
||||
drop table if exists tuuid_entity;
|
||||
|
||||
drop table if exists twheel;
|
||||
drop sequence if exists twheel_seq;
|
||||
|
||||
drop table if exists twith_pre_insert;
|
||||
drop sequence if exists twith_pre_insert_seq;
|
||||
|
||||
drop table if exists mt_tenant;
|
||||
|
||||
drop table if exists sa_tire;
|
||||
drop sequence if exists sa_tire_seq;
|
||||
|
||||
drop table if exists tire;
|
||||
drop sequence if exists tire_seq;
|
||||
|
||||
drop table if exists trip;
|
||||
drop sequence if exists trip_seq;
|
||||
|
||||
drop table if exists truck_ref;
|
||||
drop sequence if exists truck_ref_seq;
|
||||
|
||||
drop table if exists type;
|
||||
|
||||
drop table if exists ut_detail;
|
||||
drop sequence if exists ut_detail_seq;
|
||||
|
||||
drop table if exists ut_master;
|
||||
drop sequence if exists ut_master_seq;
|
||||
|
||||
drop table if exists uuone;
|
||||
|
||||
drop table if exists uutwo;
|
||||
|
||||
drop table if exists em_user;
|
||||
drop sequence if exists em_user_seq;
|
||||
|
||||
drop table if exists tx_user;
|
||||
drop sequence if exists tx_user_seq;
|
||||
|
||||
drop table if exists c_user;
|
||||
drop sequence if exists c_user_seq;
|
||||
|
||||
drop table if exists oto_user;
|
||||
drop sequence if exists oto_user_seq;
|
||||
|
||||
drop table if exists em_user_role;
|
||||
|
||||
drop table if exists vehicle;
|
||||
drop sequence if exists vehicle_seq;
|
||||
|
||||
drop table if exists vehicle_driver;
|
||||
drop sequence if exists vehicle_driver_seq;
|
||||
|
||||
drop table if exists warehouses;
|
||||
drop sequence if exists warehouses_seq;
|
||||
|
||||
drop table if exists warehousesshippingzones;
|
||||
|
||||
drop table if exists sa_wheel;
|
||||
drop sequence if exists sa_wheel_seq;
|
||||
|
||||
drop table if exists sp_car_wheel;
|
||||
drop sequence if exists sp_car_wheel_seq;
|
||||
|
||||
drop table if exists wheel;
|
||||
drop sequence if exists wheel_seq;
|
||||
|
||||
drop table if exists with_zero;
|
||||
drop sequence if exists with_zero_seq;
|
||||
|
||||
drop table if exists parent;
|
||||
drop sequence if exists parent_seq;
|
||||
|
||||
drop table if exists wview;
|
||||
|
||||
drop table if exists zones;
|
||||
drop sequence if exists zones_seq;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,783 @@
|
||||
IF OBJECT_ID('fk_bar_foo_id', 'F') IS NOT NULL alter table bar drop constraint fk_bar_foo_id;
|
||||
drop index ix_bar_foo_id;
|
||||
|
||||
IF OBJECT_ID('fk_o_address_country_code', 'F') IS NOT NULL alter table o_address drop constraint fk_o_address_country_code;
|
||||
drop index ix_o_address_country_code;
|
||||
|
||||
IF OBJECT_ID('fk_animals_shelter_id', 'F') IS NOT NULL alter table animals drop constraint fk_animals_shelter_id;
|
||||
drop index ix_animals_shelter_id;
|
||||
|
||||
IF OBJECT_ID('fk_attribute_attribute_holder_1', 'F') IS NOT NULL alter table attribute drop constraint fk_attribute_attribute_holder_1;
|
||||
drop index ix_attribute_attribute_holder_1;
|
||||
|
||||
IF OBJECT_ID('fk_bbookmark_user_id', 'F') IS NOT NULL alter table bbookmark drop constraint fk_bbookmark_user_id;
|
||||
drop index ix_bbookmark_user_id;
|
||||
|
||||
drop index uq_drel_booking_agent_invoice;
|
||||
drop index uq_drel_booking_client_invoice;
|
||||
IF OBJECT_ID('fk_drel_booking_agent_invoice', 'F') IS NOT NULL alter table drel_booking drop constraint fk_drel_booking_agent_invoice;
|
||||
|
||||
IF OBJECT_ID('fk_drel_booking_client_invoice', 'F') IS NOT NULL alter table drel_booking drop constraint fk_drel_booking_client_invoice;
|
||||
|
||||
IF OBJECT_ID('fk_ckey_detail_ckey_parent', 'F') IS NOT NULL alter table ckey_detail drop constraint fk_ckey_detail_ckey_parent;
|
||||
drop index ix_ckey_detail_one_key_two_key;
|
||||
|
||||
IF OBJECT_ID('fk_ckey_parent_assoc_id', 'F') IS NOT NULL alter table ckey_parent drop constraint fk_ckey_parent_assoc_id;
|
||||
drop index ix_ckey_parent_assoc_id;
|
||||
|
||||
IF OBJECT_ID('fk_calculation_result_product_1', 'F') IS NOT NULL alter table calculation_result drop constraint fk_calculation_result_product_1;
|
||||
drop index ix_calculation_result_product_1;
|
||||
|
||||
IF OBJECT_ID('fk_calculation_result_group_c_2', 'F') IS NOT NULL alter table calculation_result drop constraint fk_calculation_result_group_c_2;
|
||||
drop index ix_calculation_result_group_c_2;
|
||||
|
||||
IF OBJECT_ID('fk_sp_car_car_wheels_sp_car_car', 'F') IS NOT NULL alter table sp_car_car_wheels drop constraint fk_sp_car_car_wheels_sp_car_car;
|
||||
drop index ix_sp_car_car_wheels_car;
|
||||
|
||||
IF OBJECT_ID('fk_sp_car_car_wheels_sp_car_w_2', 'F') IS NOT NULL alter table sp_car_car_wheels drop constraint fk_sp_car_car_wheels_sp_car_w_2;
|
||||
drop index ix_sp_car_car_wheels_wheel;
|
||||
|
||||
IF OBJECT_ID('fk_car_accessory_car_id', 'F') IS NOT NULL alter table car_accessory drop constraint fk_car_accessory_car_id;
|
||||
drop index ix_car_accessory_car_id;
|
||||
|
||||
IF OBJECT_ID('fk_configuration_configuratio_1', 'F') IS NOT NULL alter table configuration drop constraint fk_configuration_configuratio_1;
|
||||
drop index ix_configuration_configuratio_1;
|
||||
|
||||
IF OBJECT_ID('fk_contact_customer_id', 'F') IS NOT NULL alter table contact drop constraint fk_contact_customer_id;
|
||||
drop index ix_contact_customer_id;
|
||||
|
||||
IF OBJECT_ID('fk_contact_group_id', 'F') IS NOT NULL alter table contact drop constraint fk_contact_group_id;
|
||||
drop index ix_contact_group_id;
|
||||
|
||||
IF OBJECT_ID('fk_contact_note_contact_id', 'F') IS NOT NULL alter table contact_note drop constraint fk_contact_note_contact_id;
|
||||
drop index ix_contact_note_contact_id;
|
||||
|
||||
IF OBJECT_ID('fk_c_conversation_group_id', 'F') IS NOT NULL alter table c_conversation drop constraint fk_c_conversation_group_id;
|
||||
drop index ix_c_conversation_group_id;
|
||||
|
||||
IF OBJECT_ID('fk_o_customer_billing_address_1', 'F') IS NOT NULL alter table o_customer drop constraint fk_o_customer_billing_address_1;
|
||||
drop index ix_o_customer_billing_address_1;
|
||||
|
||||
IF OBJECT_ID('fk_o_customer_shipping_addres_2', 'F') IS NOT NULL alter table o_customer drop constraint fk_o_customer_shipping_addres_2;
|
||||
drop index ix_o_customer_shipping_addres_2;
|
||||
|
||||
IF OBJECT_ID('fk_eemb_inner_outer_id', 'F') IS NOT NULL alter table eemb_inner drop constraint fk_eemb_inner_outer_id;
|
||||
drop index ix_eemb_inner_outer_id;
|
||||
|
||||
IF OBJECT_ID('fk_einvoice_person_id', 'F') IS NOT NULL alter table einvoice drop constraint fk_einvoice_person_id;
|
||||
drop index ix_einvoice_person_id;
|
||||
|
||||
IF OBJECT_ID('fk_enull_collection_detail_en_1', 'F') IS NOT NULL alter table enull_collection_detail drop constraint fk_enull_collection_detail_en_1;
|
||||
drop index ix_enull_collection_detail_en_1;
|
||||
|
||||
IF OBJECT_ID('fk_eopt_one_a_b_id', 'F') IS NOT NULL alter table eopt_one_a drop constraint fk_eopt_one_a_b_id;
|
||||
drop index ix_eopt_one_a_b_id;
|
||||
|
||||
IF OBJECT_ID('fk_eopt_one_b_c_id', 'F') IS NOT NULL alter table eopt_one_b drop constraint fk_eopt_one_b_c_id;
|
||||
drop index ix_eopt_one_b_c_id;
|
||||
|
||||
IF OBJECT_ID('fk_evanilla_collection_detail_1', 'F') IS NOT NULL alter table evanilla_collection_detail drop constraint fk_evanilla_collection_detail_1;
|
||||
drop index ix_evanilla_collection_detail_1;
|
||||
|
||||
IF OBJECT_ID('fk_td_child_parent_id', 'F') IS NOT NULL alter table td_child drop constraint fk_td_child_parent_id;
|
||||
drop index ix_td_child_parent_id;
|
||||
|
||||
IF OBJECT_ID('fk_imrelated_owner_id', 'F') IS NOT NULL alter table imrelated drop constraint fk_imrelated_owner_id;
|
||||
drop index ix_imrelated_owner_id;
|
||||
|
||||
IF OBJECT_ID('fk_info_contact_company_id', 'F') IS NOT NULL alter table info_contact drop constraint fk_info_contact_company_id;
|
||||
drop index ix_info_contact_company_id;
|
||||
|
||||
drop index uq_info_customer_company_id;
|
||||
IF OBJECT_ID('fk_info_customer_company_id', 'F') IS NOT NULL alter table info_customer drop constraint fk_info_customer_company_id;
|
||||
|
||||
drop index uq_inner_report_forecast_id;
|
||||
IF OBJECT_ID('fk_inner_report_forecast_id', 'F') IS NOT NULL alter table inner_report drop constraint fk_inner_report_forecast_id;
|
||||
|
||||
IF OBJECT_ID('fk_drel_invoice_booking', 'F') IS NOT NULL alter table drel_invoice drop constraint fk_drel_invoice_booking;
|
||||
drop index ix_drel_invoice_booking;
|
||||
|
||||
IF OBJECT_ID('fk_item_type', 'F') IS NOT NULL alter table item drop constraint fk_item_type;
|
||||
drop index ix_item_customer_type;
|
||||
|
||||
IF OBJECT_ID('fk_item_region', 'F') IS NOT NULL alter table item drop constraint fk_item_region;
|
||||
drop index ix_item_customer_region;
|
||||
|
||||
IF OBJECT_ID('fk_level1_level4_level1', 'F') IS NOT NULL alter table level1_level4 drop constraint fk_level1_level4_level1;
|
||||
drop index ix_level1_level4_level1_id;
|
||||
|
||||
IF OBJECT_ID('fk_level1_level4_level4', 'F') IS NOT NULL alter table level1_level4 drop constraint fk_level1_level4_level4;
|
||||
drop index ix_level1_level4_level4_id;
|
||||
|
||||
IF OBJECT_ID('fk_level1_level2_level1', 'F') IS NOT NULL alter table level1_level2 drop constraint fk_level1_level2_level1;
|
||||
drop index ix_level1_level2_level1_id;
|
||||
|
||||
IF OBJECT_ID('fk_level1_level2_level2', 'F') IS NOT NULL alter table level1_level2 drop constraint fk_level1_level2_level2;
|
||||
drop index ix_level1_level2_level2_id;
|
||||
|
||||
IF OBJECT_ID('fk_level2_level3_level2', 'F') IS NOT NULL alter table level2_level3 drop constraint fk_level2_level3_level2;
|
||||
drop index ix_level2_level3_level2_id;
|
||||
|
||||
IF OBJECT_ID('fk_level2_level3_level3', 'F') IS NOT NULL alter table level2_level3 drop constraint fk_level2_level3_level3;
|
||||
drop index ix_level2_level3_level3_id;
|
||||
|
||||
IF OBJECT_ID('fk_la_attr_value_attribute_la_1', 'F') IS NOT NULL alter table la_attr_value_attribute drop constraint fk_la_attr_value_attribute_la_1;
|
||||
drop index ix_la_attr_value_attribute_la_1;
|
||||
|
||||
IF OBJECT_ID('fk_la_attr_value_attribute_at_2', 'F') IS NOT NULL alter table la_attr_value_attribute drop constraint fk_la_attr_value_attribute_at_2;
|
||||
drop index ix_la_attr_value_attribute_at_2;
|
||||
|
||||
drop index uq_mprinter_last_swap_cyan_id;
|
||||
drop index uq_mprinter_last_swap_magenta_2;
|
||||
drop index uq_mprinter_last_swap_yellow_id;
|
||||
drop index uq_mprinter_last_swap_black_id;
|
||||
IF OBJECT_ID('fk_mprinter_current_state_id', 'F') IS NOT NULL alter table mprinter drop constraint fk_mprinter_current_state_id;
|
||||
drop index ix_mprinter_current_state_id;
|
||||
|
||||
IF OBJECT_ID('fk_mprinter_last_swap_cyan_id', 'F') IS NOT NULL alter table mprinter drop constraint fk_mprinter_last_swap_cyan_id;
|
||||
|
||||
IF OBJECT_ID('fk_mprinter_last_swap_magenta_3', 'F') IS NOT NULL alter table mprinter drop constraint fk_mprinter_last_swap_magenta_3;
|
||||
|
||||
IF OBJECT_ID('fk_mprinter_last_swap_yellow_id', 'F') IS NOT NULL alter table mprinter drop constraint fk_mprinter_last_swap_yellow_id;
|
||||
|
||||
IF OBJECT_ID('fk_mprinter_last_swap_black_id', 'F') IS NOT NULL alter table mprinter drop constraint fk_mprinter_last_swap_black_id;
|
||||
|
||||
IF OBJECT_ID('fk_mprinter_state_printer_id', 'F') IS NOT NULL alter table mprinter_state drop constraint fk_mprinter_state_printer_id;
|
||||
drop index ix_mprinter_state_printer_id;
|
||||
|
||||
IF OBJECT_ID('fk_mprofile_picture_id', 'F') IS NOT NULL alter table mprofile drop constraint fk_mprofile_picture_id;
|
||||
drop index ix_mprofile_picture_id;
|
||||
|
||||
IF OBJECT_ID('fk_mrole_muser_mrole', 'F') IS NOT NULL alter table mrole_muser drop constraint fk_mrole_muser_mrole;
|
||||
drop index ix_mrole_muser_mrole_roleid;
|
||||
|
||||
IF OBJECT_ID('fk_mrole_muser_muser', 'F') IS NOT NULL alter table mrole_muser drop constraint fk_mrole_muser_muser;
|
||||
drop index ix_mrole_muser_muser_userid;
|
||||
|
||||
IF OBJECT_ID('fk_muser_user_type_id', 'F') IS NOT NULL alter table muser drop constraint fk_muser_user_type_id;
|
||||
drop index ix_muser_user_type_id;
|
||||
|
||||
IF OBJECT_ID('fk_c_message_conversation_id', 'F') IS NOT NULL alter table c_message drop constraint fk_c_message_conversation_id;
|
||||
drop index ix_c_message_conversation_id;
|
||||
|
||||
IF OBJECT_ID('fk_c_message_user_id', 'F') IS NOT NULL alter table c_message drop constraint fk_c_message_user_id;
|
||||
drop index ix_c_message_user_id;
|
||||
|
||||
IF OBJECT_ID('fk_mnoc_user_mnoc_role_mnoc_u_1', 'F') IS NOT NULL alter table mnoc_user_mnoc_role drop constraint fk_mnoc_user_mnoc_role_mnoc_u_1;
|
||||
drop index ix_mnoc_user_mnoc_role_mnoc_u_1;
|
||||
|
||||
IF OBJECT_ID('fk_mnoc_user_mnoc_role_mnoc_r_2', 'F') IS NOT NULL alter table mnoc_user_mnoc_role drop constraint fk_mnoc_user_mnoc_role_mnoc_r_2;
|
||||
drop index ix_mnoc_user_mnoc_role_mnoc_r_2;
|
||||
|
||||
IF OBJECT_ID('fk_mp_role_mp_user_id', 'F') IS NOT NULL alter table mp_role drop constraint fk_mp_role_mp_user_id;
|
||||
drop index ix_mp_role_mp_user_id;
|
||||
|
||||
IF OBJECT_ID('fk_my_lob_size_join_many_pare_1', 'F') IS NOT NULL alter table my_lob_size_join_many drop constraint fk_my_lob_size_join_many_pare_1;
|
||||
drop index ix_my_lob_size_join_many_pare_1;
|
||||
|
||||
IF OBJECT_ID('fk_o_cached_bean_country_o_ca_1', 'F') IS NOT NULL alter table o_cached_bean_country drop constraint fk_o_cached_bean_country_o_ca_1;
|
||||
drop index ix_o_cached_bean_country_o_ca_1;
|
||||
|
||||
IF OBJECT_ID('fk_o_cached_bean_country_o_co_2', 'F') IS NOT NULL alter table o_cached_bean_country drop constraint fk_o_cached_bean_country_o_co_2;
|
||||
drop index ix_o_cached_bean_country_o_co_2;
|
||||
|
||||
IF OBJECT_ID('fk_o_cached_bean_child_cached_1', 'F') IS NOT NULL alter table o_cached_bean_child drop constraint fk_o_cached_bean_child_cached_1;
|
||||
drop index ix_o_cached_bean_child_cached_1;
|
||||
|
||||
drop index uq_oengine_car_id;
|
||||
IF OBJECT_ID('fk_oengine_car_id', 'F') IS NOT NULL alter table oengine drop constraint fk_oengine_car_id;
|
||||
|
||||
drop index uq_ogear_box_car_id;
|
||||
IF OBJECT_ID('fk_ogear_box_car_id', 'F') IS NOT NULL alter table ogear_box drop constraint fk_ogear_box_car_id;
|
||||
|
||||
IF OBJECT_ID('fk_o_order_kcustomer_id', 'F') IS NOT NULL alter table o_order drop constraint fk_o_order_kcustomer_id;
|
||||
drop index ix_o_order_kcustomer_id;
|
||||
|
||||
IF OBJECT_ID('fk_o_order_detail_order_id', 'F') IS NOT NULL alter table o_order_detail drop constraint fk_o_order_detail_order_id;
|
||||
drop index ix_o_order_detail_order_id;
|
||||
|
||||
IF OBJECT_ID('fk_o_order_detail_product_id', 'F') IS NOT NULL alter table o_order_detail drop constraint fk_o_order_detail_product_id;
|
||||
drop index ix_o_order_detail_product_id;
|
||||
|
||||
IF OBJECT_ID('fk_s_order_items_order_uuid', 'F') IS NOT NULL alter table s_order_items drop constraint fk_s_order_items_order_uuid;
|
||||
drop index ix_s_order_items_order_uuid;
|
||||
|
||||
IF OBJECT_ID('fk_or_order_ship_order_id', 'F') IS NOT NULL alter table or_order_ship drop constraint fk_or_order_ship_order_id;
|
||||
drop index ix_or_order_ship_order_id;
|
||||
|
||||
drop index uq_oto_child_master_id;
|
||||
IF OBJECT_ID('fk_oto_child_master_id', 'F') IS NOT NULL alter table oto_child drop constraint fk_oto_child_master_id;
|
||||
|
||||
drop index uq_pfile_file_content_id;
|
||||
drop index uq_pfile_file_content2_id;
|
||||
IF OBJECT_ID('fk_pfile_file_content_id', 'F') IS NOT NULL alter table pfile drop constraint fk_pfile_file_content_id;
|
||||
|
||||
IF OBJECT_ID('fk_pfile_file_content2_id', 'F') IS NOT NULL alter table pfile drop constraint fk_pfile_file_content2_id;
|
||||
|
||||
drop index uq_paggview_pview_id;
|
||||
IF OBJECT_ID('fk_paggview_pview_id', 'F') IS NOT NULL alter table paggview drop constraint fk_paggview_pview_id;
|
||||
|
||||
IF OBJECT_ID('fk_pallet_location_zone_sid', 'F') IS NOT NULL alter table pallet_location drop constraint fk_pallet_location_zone_sid;
|
||||
drop index ix_pallet_location_zone_sid;
|
||||
|
||||
drop index uq_parcel_location_parcelid;
|
||||
IF OBJECT_ID('fk_parcel_location_parcelid', 'F') IS NOT NULL alter table parcel_location drop constraint fk_parcel_location_parcelid;
|
||||
|
||||
IF OBJECT_ID('fk_rawinherit_parent_rawinher_1', 'F') IS NOT NULL alter table rawinherit_parent_rawinherit_dat drop constraint fk_rawinherit_parent_rawinher_1;
|
||||
drop index ix_rawinherit_parent_rawinher_1;
|
||||
|
||||
IF OBJECT_ID('fk_rawinherit_parent_rawinher_2', 'F') IS NOT NULL alter table rawinherit_parent_rawinherit_dat drop constraint fk_rawinherit_parent_rawinher_2;
|
||||
drop index ix_rawinherit_parent_rawinher_2;
|
||||
|
||||
IF OBJECT_ID('fk_c_participation_conversati_1', 'F') IS NOT NULL alter table c_participation drop constraint fk_c_participation_conversati_1;
|
||||
drop index ix_c_participation_conversati_1;
|
||||
|
||||
IF OBJECT_ID('fk_c_participation_user_id', 'F') IS NOT NULL alter table c_participation drop constraint fk_c_participation_user_id;
|
||||
drop index ix_c_participation_user_id;
|
||||
|
||||
drop index uq_persistent_file_content_pe_1;
|
||||
IF OBJECT_ID('fk_persistent_file_content_pe_1', 'F') IS NOT NULL alter table persistent_file_content drop constraint fk_persistent_file_content_pe_1;
|
||||
|
||||
IF OBJECT_ID('fk_person_default_address_oid', 'F') IS NOT NULL alter table person drop constraint fk_person_default_address_oid;
|
||||
drop index ix_person_default_address_oid;
|
||||
|
||||
IF OBJECT_ID('fk_phones_person_id', 'F') IS NOT NULL alter table phones drop constraint fk_phones_person_id;
|
||||
drop index ix_phones_person_id;
|
||||
|
||||
IF OBJECT_ID('fk_pp_to_ww_pp', 'F') IS NOT NULL alter table pp_to_ww drop constraint fk_pp_to_ww_pp;
|
||||
drop index ix_pp_to_ww_pp_id;
|
||||
|
||||
IF OBJECT_ID('fk_pp_to_ww_wview', 'F') IS NOT NULL alter table pp_to_ww drop constraint fk_pp_to_ww_wview;
|
||||
drop index ix_pp_to_ww_ww_id;
|
||||
|
||||
IF OBJECT_ID('fk_r_orders_rcustomer', 'F') IS NOT NULL alter table r_orders drop constraint fk_r_orders_rcustomer;
|
||||
drop index ix_r_orders_company_customern_1;
|
||||
|
||||
IF OBJECT_ID('fk_resourcefile_parentresourc_1', 'F') IS NOT NULL alter table resourcefile drop constraint fk_resourcefile_parentresourc_1;
|
||||
drop index ix_resourcefile_parentresourc_1;
|
||||
|
||||
IF OBJECT_ID('fk_mt_role_tenant_id', 'F') IS NOT NULL alter table mt_role drop constraint fk_mt_role_tenant_id;
|
||||
drop index ix_mt_role_tenant_id;
|
||||
|
||||
IF OBJECT_ID('fk_mt_role_permission_mt_role', 'F') IS NOT NULL alter table mt_role_permission drop constraint fk_mt_role_permission_mt_role;
|
||||
drop index ix_mt_role_permission_mt_role_1;
|
||||
|
||||
IF OBJECT_ID('fk_mt_role_permission_mt_perm_2', 'F') IS NOT NULL alter table mt_role_permission drop constraint fk_mt_role_permission_mt_perm_2;
|
||||
drop index ix_mt_role_permission_mt_perm_2;
|
||||
|
||||
drop index uq_f_second_first;
|
||||
IF OBJECT_ID('fk_f_second_first', 'F') IS NOT NULL alter table f_second drop constraint fk_f_second_first;
|
||||
|
||||
IF OBJECT_ID('fk_section_article_id', 'F') IS NOT NULL alter table section drop constraint fk_section_article_id;
|
||||
drop index ix_section_article_id;
|
||||
|
||||
IF OBJECT_ID('fk_self_parent_parent_id', 'F') IS NOT NULL alter table self_parent drop constraint fk_self_parent_parent_id;
|
||||
drop index ix_self_parent_parent_id;
|
||||
|
||||
IF OBJECT_ID('fk_self_ref_customer_referred_1', 'F') IS NOT NULL alter table self_ref_customer drop constraint fk_self_ref_customer_referred_1;
|
||||
drop index ix_self_ref_customer_referred_1;
|
||||
|
||||
IF OBJECT_ID('fk_self_ref_example_parent_id', 'F') IS NOT NULL alter table self_ref_example drop constraint fk_self_ref_example_parent_id;
|
||||
drop index ix_self_ref_example_parent_id;
|
||||
|
||||
IF OBJECT_ID('fk_stockforecast_inner_report_1', 'F') IS NOT NULL alter table stockforecast drop constraint fk_stockforecast_inner_report_1;
|
||||
drop index ix_stockforecast_inner_report_1;
|
||||
|
||||
IF OBJECT_ID('fk_sub_section_section_id', 'F') IS NOT NULL alter table sub_section drop constraint fk_sub_section_section_id;
|
||||
drop index ix_sub_section_section_id;
|
||||
|
||||
IF OBJECT_ID('fk_t_detail_with_other_namexx_1', 'F') IS NOT NULL alter table t_detail_with_other_namexxxyy drop constraint fk_t_detail_with_other_namexx_1;
|
||||
drop index ix_t_detail_with_other_namexx_1;
|
||||
|
||||
IF OBJECT_ID('fk_ts_detail_two_master_id', 'F') IS NOT NULL alter table ts_detail_two drop constraint fk_ts_detail_two_master_id;
|
||||
drop index ix_ts_detail_two_master_id;
|
||||
|
||||
IF OBJECT_ID('fk_twheel_owner_plate_no', 'F') IS NOT NULL alter table twheel drop constraint fk_twheel_owner_plate_no;
|
||||
drop index ix_twheel_owner_plate_no;
|
||||
|
||||
drop index uq_tire_wheel;
|
||||
IF OBJECT_ID('fk_tire_wheel', 'F') IS NOT NULL alter table tire drop constraint fk_tire_wheel;
|
||||
|
||||
IF OBJECT_ID('fk_trip_vehicle_driver_id', 'F') IS NOT NULL alter table trip drop constraint fk_trip_vehicle_driver_id;
|
||||
drop index ix_trip_vehicle_driver_id;
|
||||
|
||||
IF OBJECT_ID('fk_trip_address_id', 'F') IS NOT NULL alter table trip drop constraint fk_trip_address_id;
|
||||
drop index ix_trip_address_id;
|
||||
|
||||
IF OBJECT_ID('fk_type_sub_type_id', 'F') IS NOT NULL alter table type drop constraint fk_type_sub_type_id;
|
||||
drop index ix_type_sub_type_id;
|
||||
|
||||
IF OBJECT_ID('fk_ut_detail_utmaster_id', 'F') IS NOT NULL alter table ut_detail drop constraint fk_ut_detail_utmaster_id;
|
||||
drop index ix_ut_detail_utmaster_id;
|
||||
|
||||
IF OBJECT_ID('fk_uutwo_master_id', 'F') IS NOT NULL alter table uutwo drop constraint fk_uutwo_master_id;
|
||||
drop index ix_uutwo_master_id;
|
||||
|
||||
IF OBJECT_ID('fk_c_user_group_id', 'F') IS NOT NULL alter table c_user drop constraint fk_c_user_group_id;
|
||||
drop index ix_c_user_group_id;
|
||||
|
||||
drop index uq_oto_user_account_id;
|
||||
IF OBJECT_ID('fk_oto_user_account_id', 'F') IS NOT NULL alter table oto_user drop constraint fk_oto_user_account_id;
|
||||
|
||||
IF OBJECT_ID('fk_em_user_role_user_id', 'F') IS NOT NULL alter table em_user_role drop constraint fk_em_user_role_user_id;
|
||||
drop index ix_em_user_role_user_id;
|
||||
|
||||
IF OBJECT_ID('fk_em_user_role_role_id', 'F') IS NOT NULL alter table em_user_role drop constraint fk_em_user_role_role_id;
|
||||
drop index ix_em_user_role_role_id;
|
||||
|
||||
IF OBJECT_ID('fk_vehicle_truck_ref_id', 'F') IS NOT NULL alter table vehicle drop constraint fk_vehicle_truck_ref_id;
|
||||
drop index ix_vehicle_truck_ref_id;
|
||||
|
||||
IF OBJECT_ID('fk_vehicle_car_ref_id', 'F') IS NOT NULL alter table vehicle drop constraint fk_vehicle_car_ref_id;
|
||||
drop index ix_vehicle_car_ref_id;
|
||||
|
||||
IF OBJECT_ID('fk_vehicle_driver_vehicle_id', 'F') IS NOT NULL alter table vehicle_driver drop constraint fk_vehicle_driver_vehicle_id;
|
||||
drop index ix_vehicle_driver_vehicle_id;
|
||||
|
||||
IF OBJECT_ID('fk_vehicle_driver_address_id', 'F') IS NOT NULL alter table vehicle_driver drop constraint fk_vehicle_driver_address_id;
|
||||
drop index ix_vehicle_driver_address_id;
|
||||
|
||||
IF OBJECT_ID('fk_warehouses_officezoneid', 'F') IS NOT NULL alter table warehouses drop constraint fk_warehouses_officezoneid;
|
||||
drop index ix_warehouses_officezoneid;
|
||||
|
||||
IF OBJECT_ID('fk_warehousesshippingzones_wa_1', 'F') IS NOT NULL alter table warehousesshippingzones drop constraint fk_warehousesshippingzones_wa_1;
|
||||
drop index ix_warehousesshippingzones_wa_1;
|
||||
|
||||
IF OBJECT_ID('fk_warehousesshippingzones_zo_2', 'F') IS NOT NULL alter table warehousesshippingzones drop constraint fk_warehousesshippingzones_zo_2;
|
||||
drop index ix_warehousesshippingzones_sh_2;
|
||||
|
||||
IF OBJECT_ID('fk_sa_wheel_tire', 'F') IS NOT NULL alter table sa_wheel drop constraint fk_sa_wheel_tire;
|
||||
drop index ix_sa_wheel_tire;
|
||||
|
||||
IF OBJECT_ID('fk_sa_wheel_car', 'F') IS NOT NULL alter table sa_wheel drop constraint fk_sa_wheel_car;
|
||||
drop index ix_sa_wheel_car;
|
||||
|
||||
IF OBJECT_ID('fk_with_zero_parent_id', 'F') IS NOT NULL alter table with_zero drop constraint fk_with_zero_parent_id;
|
||||
drop index ix_with_zero_parent_id;
|
||||
|
||||
IF OBJECT_ID('asimple_bean', 'U') IS NOT NULL drop table asimple_bean;
|
||||
|
||||
IF OBJECT_ID('bar', 'U') IS NOT NULL drop table bar;
|
||||
|
||||
IF OBJECT_ID('oto_account', 'U') IS NOT NULL drop table oto_account;
|
||||
|
||||
IF OBJECT_ID('o_address', 'U') IS NOT NULL drop table o_address;
|
||||
|
||||
IF OBJECT_ID('address', 'U') IS NOT NULL drop table address;
|
||||
|
||||
IF OBJECT_ID('animals', 'U') IS NOT NULL drop table animals;
|
||||
|
||||
IF OBJECT_ID('animal_shelter', 'U') IS NOT NULL drop table animal_shelter;
|
||||
|
||||
IF OBJECT_ID('article', 'U') IS NOT NULL drop table article;
|
||||
|
||||
IF OBJECT_ID('attribute', 'U') IS NOT NULL drop table attribute;
|
||||
|
||||
IF OBJECT_ID('attribute_holder', 'U') IS NOT NULL drop table attribute_holder;
|
||||
|
||||
IF OBJECT_ID('audit_log', 'U') IS NOT NULL drop table audit_log;
|
||||
|
||||
IF OBJECT_ID('bbookmark', 'U') IS NOT NULL drop table bbookmark;
|
||||
|
||||
IF OBJECT_ID('bbookmark_user', 'U') IS NOT NULL drop table bbookmark_user;
|
||||
|
||||
IF OBJECT_ID('bsimple_with_gen', 'U') IS NOT NULL drop table bsimple_with_gen;
|
||||
|
||||
IF OBJECT_ID('bwith_qident', 'U') IS NOT NULL drop table bwith_qident;
|
||||
|
||||
IF OBJECT_ID('basic_joda_entity', 'U') IS NOT NULL drop table basic_joda_entity;
|
||||
|
||||
IF OBJECT_ID('bean_with_time_zone', 'U') IS NOT NULL drop table bean_with_time_zone;
|
||||
|
||||
IF OBJECT_ID('drel_booking', 'U') IS NOT NULL drop table drel_booking;
|
||||
|
||||
IF OBJECT_ID('ckey_assoc', 'U') IS NOT NULL drop table ckey_assoc;
|
||||
|
||||
IF OBJECT_ID('ckey_detail', 'U') IS NOT NULL drop table ckey_detail;
|
||||
|
||||
IF OBJECT_ID('ckey_parent', 'U') IS NOT NULL drop table ckey_parent;
|
||||
|
||||
IF OBJECT_ID('calculation_result', 'U') IS NOT NULL drop table calculation_result;
|
||||
|
||||
IF OBJECT_ID('cao_bean', 'U') IS NOT NULL drop table cao_bean;
|
||||
|
||||
IF OBJECT_ID('sa_car', 'U') IS NOT NULL drop table sa_car;
|
||||
|
||||
IF OBJECT_ID('sp_car_car', 'U') IS NOT NULL drop table sp_car_car;
|
||||
|
||||
IF OBJECT_ID('sp_car_car_wheels', 'U') IS NOT NULL drop table sp_car_car_wheels;
|
||||
|
||||
IF OBJECT_ID('car_accessory', 'U') IS NOT NULL drop table car_accessory;
|
||||
|
||||
IF OBJECT_ID('configuration', 'U') IS NOT NULL drop table configuration;
|
||||
|
||||
IF OBJECT_ID('configurations', 'U') IS NOT NULL drop table configurations;
|
||||
|
||||
IF OBJECT_ID('contact', 'U') IS NOT NULL drop table contact;
|
||||
|
||||
IF OBJECT_ID('contact_group', 'U') IS NOT NULL drop table contact_group;
|
||||
|
||||
IF OBJECT_ID('contact_note', 'U') IS NOT NULL drop table contact_note;
|
||||
|
||||
IF OBJECT_ID('c_conversation', 'U') IS NOT NULL drop table c_conversation;
|
||||
|
||||
IF OBJECT_ID('o_country', 'U') IS NOT NULL drop table o_country;
|
||||
|
||||
IF OBJECT_ID('o_customer', 'U') IS NOT NULL drop table o_customer;
|
||||
|
||||
IF OBJECT_ID('dexh_entity', 'U') IS NOT NULL drop table dexh_entity;
|
||||
|
||||
IF OBJECT_ID('dperson', 'U') IS NOT NULL drop table dperson;
|
||||
|
||||
IF OBJECT_ID('rawinherit_data', 'U') IS NOT NULL drop table rawinherit_data;
|
||||
|
||||
IF OBJECT_ID('e_basic', 'U') IS NOT NULL drop table e_basic;
|
||||
|
||||
IF OBJECT_ID('ebasic_clob', 'U') IS NOT NULL drop table ebasic_clob;
|
||||
|
||||
IF OBJECT_ID('ebasic_clob_fetch_eager', 'U') IS NOT NULL drop table ebasic_clob_fetch_eager;
|
||||
|
||||
IF OBJECT_ID('ebasic_clob_no_ver', 'U') IS NOT NULL drop table ebasic_clob_no_ver;
|
||||
|
||||
IF OBJECT_ID('e_basicenc', 'U') IS NOT NULL drop table e_basicenc;
|
||||
|
||||
IF OBJECT_ID('e_basicenc_bin', 'U') IS NOT NULL drop table e_basicenc_bin;
|
||||
|
||||
IF OBJECT_ID('e_basic_enum_id', 'U') IS NOT NULL drop table e_basic_enum_id;
|
||||
|
||||
IF OBJECT_ID('ebasic_json_map', 'U') IS NOT NULL drop table ebasic_json_map;
|
||||
|
||||
IF OBJECT_ID('ebasic_json_map_blob', 'U') IS NOT NULL drop table ebasic_json_map_blob;
|
||||
|
||||
IF OBJECT_ID('ebasic_json_map_clob', 'U') IS NOT NULL drop table ebasic_json_map_clob;
|
||||
|
||||
IF OBJECT_ID('ebasic_json_map_json_b', 'U') IS NOT NULL drop table ebasic_json_map_json_b;
|
||||
|
||||
IF OBJECT_ID('ebasic_json_map_varchar', 'U') IS NOT NULL drop table ebasic_json_map_varchar;
|
||||
|
||||
IF OBJECT_ID('ebasic_json_node', 'U') IS NOT NULL drop table ebasic_json_node;
|
||||
|
||||
IF OBJECT_ID('ebasic_json_node_blob', 'U') IS NOT NULL drop table ebasic_json_node_blob;
|
||||
|
||||
IF OBJECT_ID('ebasic_json_node_json_b', 'U') IS NOT NULL drop table ebasic_json_node_json_b;
|
||||
|
||||
IF OBJECT_ID('ebasic_json_node_varchar', 'U') IS NOT NULL drop table ebasic_json_node_varchar;
|
||||
|
||||
IF OBJECT_ID('e_basic_ndc', 'U') IS NOT NULL drop table e_basic_ndc;
|
||||
|
||||
IF OBJECT_ID('e_basicver', 'U') IS NOT NULL drop table e_basicver;
|
||||
|
||||
IF OBJECT_ID('e_basic_withlife', 'U') IS NOT NULL drop table e_basic_withlife;
|
||||
|
||||
IF OBJECT_ID('e_basicverucon', 'U') IS NOT NULL drop table e_basicverucon;
|
||||
|
||||
IF OBJECT_ID('eemb_inner', 'U') IS NOT NULL drop table eemb_inner;
|
||||
|
||||
IF OBJECT_ID('eemb_outer', 'U') IS NOT NULL drop table eemb_outer;
|
||||
|
||||
IF OBJECT_ID('egen_props', 'U') IS NOT NULL drop table egen_props;
|
||||
|
||||
IF OBJECT_ID('einvoice', 'U') IS NOT NULL drop table einvoice;
|
||||
|
||||
IF OBJECT_ID('e_main', 'U') IS NOT NULL drop table e_main;
|
||||
|
||||
IF OBJECT_ID('enull_collection', 'U') IS NOT NULL drop table enull_collection;
|
||||
|
||||
IF OBJECT_ID('enull_collection_detail', 'U') IS NOT NULL drop table enull_collection_detail;
|
||||
|
||||
IF OBJECT_ID('eopt_one_a', 'U') IS NOT NULL drop table eopt_one_a;
|
||||
|
||||
IF OBJECT_ID('eopt_one_b', 'U') IS NOT NULL drop table eopt_one_b;
|
||||
|
||||
IF OBJECT_ID('eopt_one_c', 'U') IS NOT NULL drop table eopt_one_c;
|
||||
|
||||
IF OBJECT_ID('eperson', 'U') IS NOT NULL drop table eperson;
|
||||
|
||||
IF OBJECT_ID('esimple', 'U') IS NOT NULL drop table esimple;
|
||||
|
||||
IF OBJECT_ID('esome_type', 'U') IS NOT NULL drop table esome_type;
|
||||
|
||||
IF OBJECT_ID('etrans_many', 'U') IS NOT NULL drop table etrans_many;
|
||||
|
||||
IF OBJECT_ID('evanilla_collection', 'U') IS NOT NULL drop table evanilla_collection;
|
||||
|
||||
IF OBJECT_ID('evanilla_collection_detail', 'U') IS NOT NULL drop table evanilla_collection_detail;
|
||||
|
||||
IF OBJECT_ID('ewho_props', 'U') IS NOT NULL drop table ewho_props;
|
||||
|
||||
IF OBJECT_ID('e_withinet', 'U') IS NOT NULL drop table e_withinet;
|
||||
|
||||
IF OBJECT_ID('td_child', 'U') IS NOT NULL drop table td_child;
|
||||
|
||||
IF OBJECT_ID('td_parent', 'U') IS NOT NULL drop table td_parent;
|
||||
|
||||
IF OBJECT_ID('feature_desc', 'U') IS NOT NULL drop table feature_desc;
|
||||
|
||||
IF OBJECT_ID('f_first', 'U') IS NOT NULL drop table f_first;
|
||||
|
||||
IF OBJECT_ID('foo', 'U') IS NOT NULL drop table foo;
|
||||
|
||||
IF OBJECT_ID('gen_key_identity', 'U') IS NOT NULL drop table gen_key_identity;
|
||||
|
||||
IF OBJECT_ID('gen_key_sequence', 'U') IS NOT NULL drop table gen_key_sequence;
|
||||
|
||||
IF OBJECT_ID('gen_key_table', 'U') IS NOT NULL drop table gen_key_table;
|
||||
|
||||
IF OBJECT_ID('c_group', 'U') IS NOT NULL drop table c_group;
|
||||
|
||||
IF OBJECT_ID('imrelated', 'U') IS NOT NULL drop table imrelated;
|
||||
|
||||
IF OBJECT_ID('imroot', 'U') IS NOT NULL drop table imroot;
|
||||
|
||||
IF OBJECT_ID('ixresource', 'U') IS NOT NULL drop table ixresource;
|
||||
|
||||
IF OBJECT_ID('info_company', 'U') IS NOT NULL drop table info_company;
|
||||
|
||||
IF OBJECT_ID('info_contact', 'U') IS NOT NULL drop table info_contact;
|
||||
|
||||
IF OBJECT_ID('info_customer', 'U') IS NOT NULL drop table info_customer;
|
||||
|
||||
IF OBJECT_ID('inner_report', 'U') IS NOT NULL drop table inner_report;
|
||||
|
||||
IF OBJECT_ID('drel_invoice', 'U') IS NOT NULL drop table drel_invoice;
|
||||
|
||||
IF OBJECT_ID('item', 'U') IS NOT NULL drop table item;
|
||||
|
||||
IF OBJECT_ID('level1', 'U') IS NOT NULL drop table level1;
|
||||
|
||||
IF OBJECT_ID('level1_level4', 'U') IS NOT NULL drop table level1_level4;
|
||||
|
||||
IF OBJECT_ID('level1_level2', 'U') IS NOT NULL drop table level1_level2;
|
||||
|
||||
IF OBJECT_ID('level2', 'U') IS NOT NULL drop table level2;
|
||||
|
||||
IF OBJECT_ID('level2_level3', 'U') IS NOT NULL drop table level2_level3;
|
||||
|
||||
IF OBJECT_ID('level3', 'U') IS NOT NULL drop table level3;
|
||||
|
||||
IF OBJECT_ID('level4', 'U') IS NOT NULL drop table level4;
|
||||
|
||||
IF OBJECT_ID('la_attr_value', 'U') IS NOT NULL drop table la_attr_value;
|
||||
|
||||
IF OBJECT_ID('la_attr_value_attribute', 'U') IS NOT NULL drop table la_attr_value_attribute;
|
||||
|
||||
IF OBJECT_ID('mmedia', 'U') IS NOT NULL drop table mmedia;
|
||||
|
||||
IF OBJECT_ID('non_updateprop', 'U') IS NOT NULL drop table non_updateprop;
|
||||
|
||||
IF OBJECT_ID('mprinter', 'U') IS NOT NULL drop table mprinter;
|
||||
|
||||
IF OBJECT_ID('mprinter_state', 'U') IS NOT NULL drop table mprinter_state;
|
||||
|
||||
IF OBJECT_ID('mprofile', 'U') IS NOT NULL drop table mprofile;
|
||||
|
||||
IF OBJECT_ID('mprotected_construct_bean', 'U') IS NOT NULL drop table mprotected_construct_bean;
|
||||
|
||||
IF OBJECT_ID('mrole', 'U') IS NOT NULL drop table mrole;
|
||||
|
||||
IF OBJECT_ID('mrole_muser', 'U') IS NOT NULL drop table mrole_muser;
|
||||
|
||||
IF OBJECT_ID('msome_other', 'U') IS NOT NULL drop table msome_other;
|
||||
|
||||
IF OBJECT_ID('muser', 'U') IS NOT NULL drop table muser;
|
||||
|
||||
IF OBJECT_ID('muser_type', 'U') IS NOT NULL drop table muser_type;
|
||||
|
||||
IF OBJECT_ID('map_super_actual', 'U') IS NOT NULL drop table map_super_actual;
|
||||
|
||||
IF OBJECT_ID('c_message', 'U') IS NOT NULL drop table c_message;
|
||||
|
||||
IF OBJECT_ID('mnoc_role', 'U') IS NOT NULL drop table mnoc_role;
|
||||
|
||||
IF OBJECT_ID('mnoc_user', 'U') IS NOT NULL drop table mnoc_user;
|
||||
|
||||
IF OBJECT_ID('mnoc_user_mnoc_role', 'U') IS NOT NULL drop table mnoc_user_mnoc_role;
|
||||
|
||||
IF OBJECT_ID('mp_role', 'U') IS NOT NULL drop table mp_role;
|
||||
|
||||
IF OBJECT_ID('mp_user', 'U') IS NOT NULL drop table mp_user;
|
||||
|
||||
IF OBJECT_ID('my_lob_size', 'U') IS NOT NULL drop table my_lob_size;
|
||||
|
||||
IF OBJECT_ID('my_lob_size_join_many', 'U') IS NOT NULL drop table my_lob_size_join_many;
|
||||
|
||||
IF OBJECT_ID('noidbean', 'U') IS NOT NULL drop table noidbean;
|
||||
|
||||
IF OBJECT_ID('o_cached_bean', 'U') IS NOT NULL drop table o_cached_bean;
|
||||
|
||||
IF OBJECT_ID('o_cached_bean_country', 'U') IS NOT NULL drop table o_cached_bean_country;
|
||||
|
||||
IF OBJECT_ID('o_cached_bean_child', 'U') IS NOT NULL drop table o_cached_bean_child;
|
||||
|
||||
IF OBJECT_ID('ocar', 'U') IS NOT NULL drop table ocar;
|
||||
|
||||
IF OBJECT_ID('oengine', 'U') IS NOT NULL drop table oengine;
|
||||
|
||||
IF OBJECT_ID('ogear_box', 'U') IS NOT NULL drop table ogear_box;
|
||||
|
||||
IF OBJECT_ID('o_order', 'U') IS NOT NULL drop table o_order;
|
||||
|
||||
IF OBJECT_ID('o_order_detail', 'U') IS NOT NULL drop table o_order_detail;
|
||||
|
||||
IF OBJECT_ID('s_orders', 'U') IS NOT NULL drop table s_orders;
|
||||
|
||||
IF OBJECT_ID('s_order_items', 'U') IS NOT NULL drop table s_order_items;
|
||||
|
||||
IF OBJECT_ID('or_order_ship', 'U') IS NOT NULL drop table or_order_ship;
|
||||
|
||||
IF OBJECT_ID('oto_child', 'U') IS NOT NULL drop table oto_child;
|
||||
|
||||
IF OBJECT_ID('oto_master', 'U') IS NOT NULL drop table oto_master;
|
||||
|
||||
IF OBJECT_ID('pfile', 'U') IS NOT NULL drop table pfile;
|
||||
|
||||
IF OBJECT_ID('pfile_content', 'U') IS NOT NULL drop table pfile_content;
|
||||
|
||||
IF OBJECT_ID('paggview', 'U') IS NOT NULL drop table paggview;
|
||||
|
||||
IF OBJECT_ID('pallet_location', 'U') IS NOT NULL drop table pallet_location;
|
||||
|
||||
IF OBJECT_ID('parcel', 'U') IS NOT NULL drop table parcel;
|
||||
|
||||
IF OBJECT_ID('parcel_location', 'U') IS NOT NULL drop table parcel_location;
|
||||
|
||||
IF OBJECT_ID('rawinherit_parent', 'U') IS NOT NULL drop table rawinherit_parent;
|
||||
|
||||
IF OBJECT_ID('rawinherit_parent_rawinherit_dat', 'U') IS NOT NULL drop table rawinherit_parent_rawinherit_dat;
|
||||
|
||||
IF OBJECT_ID('c_participation', 'U') IS NOT NULL drop table c_participation;
|
||||
|
||||
IF OBJECT_ID('mt_permission', 'U') IS NOT NULL drop table mt_permission;
|
||||
|
||||
IF OBJECT_ID('persistent_file', 'U') IS NOT NULL drop table persistent_file;
|
||||
|
||||
IF OBJECT_ID('persistent_file_content', 'U') IS NOT NULL drop table persistent_file_content;
|
||||
|
||||
IF OBJECT_ID('persons', 'U') IS NOT NULL drop table persons;
|
||||
|
||||
IF OBJECT_ID('person', 'U') IS NOT NULL drop table person;
|
||||
|
||||
IF OBJECT_ID('phones', 'U') IS NOT NULL drop table phones;
|
||||
|
||||
IF OBJECT_ID('o_product', 'U') IS NOT NULL drop table o_product;
|
||||
|
||||
IF OBJECT_ID('pp', 'U') IS NOT NULL drop table pp;
|
||||
|
||||
IF OBJECT_ID('pp_to_ww', 'U') IS NOT NULL drop table pp_to_ww;
|
||||
|
||||
IF OBJECT_ID('rcustomer', 'U') IS NOT NULL drop table rcustomer;
|
||||
|
||||
IF OBJECT_ID('r_orders', 'U') IS NOT NULL drop table r_orders;
|
||||
|
||||
IF OBJECT_ID('region', 'U') IS NOT NULL drop table region;
|
||||
|
||||
IF OBJECT_ID('resourcefile', 'U') IS NOT NULL drop table resourcefile;
|
||||
|
||||
IF OBJECT_ID('mt_role', 'U') IS NOT NULL drop table mt_role;
|
||||
|
||||
IF OBJECT_ID('mt_role_permission', 'U') IS NOT NULL drop table mt_role_permission;
|
||||
|
||||
IF OBJECT_ID('em_role', 'U') IS NOT NULL drop table em_role;
|
||||
|
||||
IF OBJECT_ID('f_second', 'U') IS NOT NULL drop table f_second;
|
||||
|
||||
IF OBJECT_ID('section', 'U') IS NOT NULL drop table section;
|
||||
|
||||
IF OBJECT_ID('self_parent', 'U') IS NOT NULL drop table self_parent;
|
||||
|
||||
IF OBJECT_ID('self_ref_customer', 'U') IS NOT NULL drop table self_ref_customer;
|
||||
|
||||
IF OBJECT_ID('self_ref_example', 'U') IS NOT NULL drop table self_ref_example;
|
||||
|
||||
IF OBJECT_ID('some_enum_bean', 'U') IS NOT NULL drop table some_enum_bean;
|
||||
|
||||
IF OBJECT_ID('some_file_bean', 'U') IS NOT NULL drop table some_file_bean;
|
||||
|
||||
IF OBJECT_ID('some_new_types_bean', 'U') IS NOT NULL drop table some_new_types_bean;
|
||||
|
||||
IF OBJECT_ID('some_period_bean', 'U') IS NOT NULL drop table some_period_bean;
|
||||
|
||||
IF OBJECT_ID('stockforecast', 'U') IS NOT NULL drop table stockforecast;
|
||||
|
||||
IF OBJECT_ID('sub_section', 'U') IS NOT NULL drop table sub_section;
|
||||
|
||||
IF OBJECT_ID('sub_type', 'U') IS NOT NULL drop table sub_type;
|
||||
|
||||
IF OBJECT_ID('tbytes_only', 'U') IS NOT NULL drop table tbytes_only;
|
||||
|
||||
IF OBJECT_ID('tcar', 'U') IS NOT NULL drop table tcar;
|
||||
|
||||
IF OBJECT_ID('tint_root', 'U') IS NOT NULL drop table tint_root;
|
||||
|
||||
IF OBJECT_ID('tjoda_entity', 'U') IS NOT NULL drop table tjoda_entity;
|
||||
|
||||
IF OBJECT_ID('t_mapsuper1', 'U') IS NOT NULL drop table t_mapsuper1;
|
||||
|
||||
IF OBJECT_ID('t_oneb', 'U') IS NOT NULL drop table t_oneb;
|
||||
|
||||
IF OBJECT_ID('t_detail_with_other_namexxxyy', 'U') IS NOT NULL drop table t_detail_with_other_namexxxyy;
|
||||
|
||||
IF OBJECT_ID('ts_detail_two', 'U') IS NOT NULL drop table ts_detail_two;
|
||||
|
||||
IF OBJECT_ID('t_atable_thatisrelatively', 'U') IS NOT NULL drop table t_atable_thatisrelatively;
|
||||
|
||||
IF OBJECT_ID('ts_master_two', 'U') IS NOT NULL drop table ts_master_two;
|
||||
|
||||
IF OBJECT_ID('tuuid_entity', 'U') IS NOT NULL drop table tuuid_entity;
|
||||
|
||||
IF OBJECT_ID('twheel', 'U') IS NOT NULL drop table twheel;
|
||||
|
||||
IF OBJECT_ID('twith_pre_insert', 'U') IS NOT NULL drop table twith_pre_insert;
|
||||
|
||||
IF OBJECT_ID('mt_tenant', 'U') IS NOT NULL drop table mt_tenant;
|
||||
|
||||
IF OBJECT_ID('sa_tire', 'U') IS NOT NULL drop table sa_tire;
|
||||
|
||||
IF OBJECT_ID('tire', 'U') IS NOT NULL drop table tire;
|
||||
|
||||
IF OBJECT_ID('trip', 'U') IS NOT NULL drop table trip;
|
||||
|
||||
IF OBJECT_ID('truck_ref', 'U') IS NOT NULL drop table truck_ref;
|
||||
|
||||
IF OBJECT_ID('type', 'U') IS NOT NULL drop table type;
|
||||
|
||||
IF OBJECT_ID('ut_detail', 'U') IS NOT NULL drop table ut_detail;
|
||||
|
||||
IF OBJECT_ID('ut_master', 'U') IS NOT NULL drop table ut_master;
|
||||
|
||||
IF OBJECT_ID('uuone', 'U') IS NOT NULL drop table uuone;
|
||||
|
||||
IF OBJECT_ID('uutwo', 'U') IS NOT NULL drop table uutwo;
|
||||
|
||||
IF OBJECT_ID('em_user', 'U') IS NOT NULL drop table em_user;
|
||||
|
||||
IF OBJECT_ID('tx_user', 'U') IS NOT NULL drop table tx_user;
|
||||
|
||||
IF OBJECT_ID('c_user', 'U') IS NOT NULL drop table c_user;
|
||||
|
||||
IF OBJECT_ID('oto_user', 'U') IS NOT NULL drop table oto_user;
|
||||
|
||||
IF OBJECT_ID('em_user_role', 'U') IS NOT NULL drop table em_user_role;
|
||||
|
||||
IF OBJECT_ID('vehicle', 'U') IS NOT NULL drop table vehicle;
|
||||
|
||||
IF OBJECT_ID('vehicle_driver', 'U') IS NOT NULL drop table vehicle_driver;
|
||||
|
||||
IF OBJECT_ID('warehouses', 'U') IS NOT NULL drop table warehouses;
|
||||
|
||||
IF OBJECT_ID('warehousesshippingzones', 'U') IS NOT NULL drop table warehousesshippingzones;
|
||||
|
||||
IF OBJECT_ID('sa_wheel', 'U') IS NOT NULL drop table sa_wheel;
|
||||
|
||||
IF OBJECT_ID('sp_car_wheel', 'U') IS NOT NULL drop table sp_car_wheel;
|
||||
|
||||
IF OBJECT_ID('wheel', 'U') IS NOT NULL drop table wheel;
|
||||
|
||||
IF OBJECT_ID('with_zero', 'U') IS NOT NULL drop table with_zero;
|
||||
|
||||
IF OBJECT_ID('parent', 'U') IS NOT NULL drop table parent;
|
||||
|
||||
IF OBJECT_ID('wview', 'U') IS NOT NULL drop table wview;
|
||||
|
||||
IF OBJECT_ID('zones', 'U') IS NOT NULL drop table zones;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,764 @@
|
||||
alter table bar drop foreign key fk_bar_foo_id;
|
||||
drop index ix_bar_foo_id on bar;
|
||||
|
||||
alter table o_address drop foreign key fk_o_address_country_code;
|
||||
drop index ix_o_address_country_code on o_address;
|
||||
|
||||
alter table animals drop foreign key fk_animals_shelter_id;
|
||||
drop index ix_animals_shelter_id on animals;
|
||||
|
||||
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 drel_booking drop foreign key fk_drel_booking_agent_invoice;
|
||||
|
||||
alter table drel_booking drop foreign key fk_drel_booking_client_invoice;
|
||||
|
||||
alter table ckey_detail drop foreign key fk_ckey_detail_ckey_parent;
|
||||
drop index ix_ckey_detail_one_key_two_key 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 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_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_wheel on sp_car_car_wheels;
|
||||
|
||||
alter table car_accessory drop foreign key fk_car_accessory_car_id;
|
||||
drop index ix_car_accessory_car_id on car_accessory;
|
||||
|
||||
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 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 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 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 td_child drop foreign key fk_td_child_parent_id;
|
||||
drop index ix_td_child_parent_id on td_child;
|
||||
|
||||
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_type;
|
||||
drop index ix_item_customer_type on item;
|
||||
|
||||
alter table item drop foreign key fk_item_region;
|
||||
drop index ix_item_customer_region on item;
|
||||
|
||||
alter table level1_level4 drop foreign key fk_level1_level4_level1;
|
||||
drop index ix_level1_level4_level1_id on level1_level4;
|
||||
|
||||
alter table level1_level4 drop foreign key fk_level1_level4_level4;
|
||||
drop index ix_level1_level4_level4_id on level1_level4;
|
||||
|
||||
alter table level1_level2 drop foreign key fk_level1_level2_level1;
|
||||
drop index ix_level1_level2_level1_id on level1_level2;
|
||||
|
||||
alter table level1_level2 drop foreign key fk_level1_level2_level2;
|
||||
drop index ix_level1_level2_level2_id on level1_level2;
|
||||
|
||||
alter table level2_level3 drop foreign key fk_level2_level3_level2;
|
||||
drop index ix_level2_level3_level2_id on level2_level3;
|
||||
|
||||
alter table level2_level3 drop foreign key fk_level2_level3_level3;
|
||||
drop index ix_level2_level3_level3_id on level2_level3;
|
||||
|
||||
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_id 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_id on la_attr_value_attribute;
|
||||
|
||||
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_roleid on mrole_muser;
|
||||
|
||||
alter table mrole_muser drop foreign key fk_mrole_muser_muser;
|
||||
drop index ix_mrole_muser_muser_userid 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 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 mnoc_user_mnoc_role drop foreign key fk_mnoc_user_mnoc_role_mnoc_user;
|
||||
drop index ix_mnoc_user_mnoc_role_mnoc_user_user_id 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_role_id on mnoc_user_mnoc_role;
|
||||
|
||||
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 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_cached_bean_country drop foreign key fk_o_cached_bean_country_o_cached_bean;
|
||||
drop index ix_o_cached_bean_country_o_cached_bean_id 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_code 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 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 oto_child drop foreign key fk_oto_child_master_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_id 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_id on rawinherit_parent_rawinherit_data;
|
||||
|
||||
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 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 phones drop foreign key fk_phones_person_id;
|
||||
drop index ix_phones_person_id on phones;
|
||||
|
||||
alter table pp_to_ww drop foreign key fk_pp_to_ww_pp;
|
||||
drop index ix_pp_to_ww_pp_id on pp_to_ww;
|
||||
|
||||
alter table pp_to_ww drop foreign key fk_pp_to_ww_wview;
|
||||
drop index ix_pp_to_ww_ww_id on pp_to_ww;
|
||||
|
||||
alter table r_orders drop foreign key fk_r_orders_rcustomer;
|
||||
drop index ix_r_orders_company_customername on r_orders;
|
||||
|
||||
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_id 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_id on mt_role_permission;
|
||||
|
||||
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 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 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 ts_detail_two drop foreign key fk_ts_detail_two_master_id;
|
||||
drop index ix_ts_detail_two_master_id on ts_detail_two;
|
||||
|
||||
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 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 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 c_user drop foreign key fk_c_user_group_id;
|
||||
drop index ix_c_user_group_id on c_user;
|
||||
|
||||
alter table oto_user drop foreign key fk_oto_user_account_id;
|
||||
|
||||
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_truck_ref_id;
|
||||
drop index ix_vehicle_truck_ref_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_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_warehouseid on warehousesshippingzones;
|
||||
|
||||
alter table warehousesshippingzones drop foreign key fk_warehousesshippingzones_zones;
|
||||
drop index ix_warehousesshippingzones_shippingzoneid 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 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 oto_account;
|
||||
|
||||
drop table if exists o_address;
|
||||
|
||||
drop table if exists address;
|
||||
|
||||
drop table if exists animals;
|
||||
|
||||
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_user;
|
||||
|
||||
drop table if exists bsimple_with_gen;
|
||||
|
||||
drop table if exists bwith_qident;
|
||||
|
||||
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 ckey_assoc;
|
||||
|
||||
drop table if exists ckey_detail;
|
||||
|
||||
drop table if exists ckey_parent;
|
||||
|
||||
drop table if exists calculation_result;
|
||||
|
||||
drop table if exists cao_bean;
|
||||
|
||||
drop table if exists sa_car;
|
||||
|
||||
drop table if exists sp_car_car;
|
||||
|
||||
drop table if exists sp_car_car_wheels;
|
||||
|
||||
drop table if exists car_accessory;
|
||||
|
||||
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 c_conversation;
|
||||
|
||||
drop table if exists o_country;
|
||||
|
||||
drop table if exists o_customer;
|
||||
|
||||
drop table if exists dexh_entity;
|
||||
|
||||
drop table if exists dperson;
|
||||
|
||||
drop table if exists rawinherit_data;
|
||||
|
||||
drop table if exists e_basic;
|
||||
|
||||
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_basic_enum_id;
|
||||
|
||||
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_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 e_basic_ndc;
|
||||
|
||||
drop table if exists e_basicver;
|
||||
|
||||
drop table if exists e_basic_withlife;
|
||||
|
||||
drop table if exists e_basicverucon;
|
||||
|
||||
drop table if exists eemb_inner;
|
||||
|
||||
drop table if exists eemb_outer;
|
||||
|
||||
drop table if exists egen_props;
|
||||
|
||||
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 eperson;
|
||||
|
||||
drop table if exists esimple;
|
||||
|
||||
drop table if exists esome_type;
|
||||
|
||||
drop table if exists etrans_many;
|
||||
|
||||
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 td_child;
|
||||
|
||||
drop table if exists td_parent;
|
||||
|
||||
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 c_group;
|
||||
|
||||
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 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 table if exists la_attr_value;
|
||||
|
||||
drop table if exists la_attr_value_attribute;
|
||||
|
||||
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 map_super_actual;
|
||||
|
||||
drop table if exists c_message;
|
||||
|
||||
drop table if exists mnoc_role;
|
||||
|
||||
drop table if exists mnoc_user;
|
||||
|
||||
drop table if exists mnoc_user_mnoc_role;
|
||||
|
||||
drop table if exists mp_role;
|
||||
|
||||
drop table if exists mp_user;
|
||||
|
||||
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_cached_bean;
|
||||
|
||||
drop table if exists o_cached_bean_country;
|
||||
|
||||
drop table if exists o_cached_bean_child;
|
||||
|
||||
drop table if exists ocar;
|
||||
|
||||
drop table if exists oengine;
|
||||
|
||||
drop table if exists ogear_box;
|
||||
|
||||
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 oto_child;
|
||||
|
||||
drop table if exists oto_master;
|
||||
|
||||
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 c_participation;
|
||||
|
||||
drop table if exists mt_permission;
|
||||
|
||||
drop table if exists persistent_file;
|
||||
|
||||
drop table if exists persistent_file_content;
|
||||
|
||||
drop table if exists persons;
|
||||
|
||||
drop table if exists person;
|
||||
|
||||
drop table if exists phones;
|
||||
|
||||
drop table if exists o_product;
|
||||
|
||||
drop table if exists pp;
|
||||
|
||||
drop table if exists pp_to_ww;
|
||||
|
||||
drop table if exists rcustomer;
|
||||
|
||||
drop table if exists r_orders;
|
||||
|
||||
drop table if exists region;
|
||||
|
||||
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 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 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 stockforecast;
|
||||
|
||||
drop table if exists sub_section;
|
||||
|
||||
drop table if exists sub_type;
|
||||
|
||||
drop table if exists tbytes_only;
|
||||
|
||||
drop table if exists tcar;
|
||||
|
||||
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 ts_detail_two;
|
||||
|
||||
drop table if exists t_atable_thatisrelatively;
|
||||
|
||||
drop table if exists ts_master_two;
|
||||
|
||||
drop table if exists tuuid_entity;
|
||||
|
||||
drop table if exists twheel;
|
||||
|
||||
drop table if exists twith_pre_insert;
|
||||
|
||||
drop table if exists mt_tenant;
|
||||
|
||||
drop table if exists sa_tire;
|
||||
|
||||
drop table if exists tire;
|
||||
|
||||
drop table if exists trip;
|
||||
|
||||
drop table if exists truck_ref;
|
||||
|
||||
drop table if exists type;
|
||||
|
||||
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 em_user;
|
||||
|
||||
drop table if exists tx_user;
|
||||
|
||||
drop table if exists c_user;
|
||||
|
||||
drop table if exists oto_user;
|
||||
|
||||
drop table if exists em_user_role;
|
||||
|
||||
drop table if exists vehicle;
|
||||
|
||||
drop table if exists vehicle_driver;
|
||||
|
||||
drop table if exists warehouses;
|
||||
|
||||
drop table if exists warehousesshippingzones;
|
||||
|
||||
drop table if exists sa_wheel;
|
||||
|
||||
drop table if exists sp_car_wheel;
|
||||
|
||||
drop table if exists wheel;
|
||||
|
||||
drop table if exists with_zero;
|
||||
|
||||
drop table if exists parent;
|
||||
|
||||
drop table if exists wview;
|
||||
|
||||
drop table if exists zones;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,938 @@
|
||||
alter table bar drop constraint fk_bar_foo_id;
|
||||
drop index ix_bar_foo_id;
|
||||
|
||||
alter table o_address drop constraint fk_o_address_country_code;
|
||||
drop index ix_o_address_country_code;
|
||||
|
||||
alter table animals drop constraint fk_animals_shelter_id;
|
||||
drop index ix_animals_shelter_id;
|
||||
|
||||
alter table attribute drop constraint fk_attribute_attribute_hold_1;
|
||||
drop index ix_attribute_attribute_hold_1;
|
||||
|
||||
alter table bbookmark drop constraint fk_bbookmark_user_id;
|
||||
drop index ix_bbookmark_user_id;
|
||||
|
||||
alter table drel_booking drop constraint fk_drel_booking_agent_invoice;
|
||||
|
||||
alter table drel_booking drop constraint fk_drel_booking_client_invo_2;
|
||||
|
||||
alter table ckey_detail drop constraint fk_ckey_detail_ckey_parent;
|
||||
drop index ix_ckey_detail_one_key_two__1;
|
||||
|
||||
alter table ckey_parent drop constraint fk_ckey_parent_assoc_id;
|
||||
drop index ix_ckey_parent_assoc_id;
|
||||
|
||||
alter table calculation_result drop constraint fk_calculation_result_produ_1;
|
||||
drop index ix_calculation_result_produ_1;
|
||||
|
||||
alter table calculation_result drop constraint fk_calculation_result_group_2;
|
||||
drop index ix_calculation_result_group_2;
|
||||
|
||||
alter table sp_car_car_wheels drop constraint fk_sp_car_car_wheels_sp_car_1;
|
||||
drop index ix_sp_car_car_wheels_car;
|
||||
|
||||
alter table sp_car_car_wheels drop constraint fk_sp_car_car_wheels_sp_car_2;
|
||||
drop index ix_sp_car_car_wheels_wheel;
|
||||
|
||||
alter table car_accessory drop constraint fk_car_accessory_car_id;
|
||||
drop index ix_car_accessory_car_id;
|
||||
|
||||
alter table configuration drop constraint fk_configuration_configurat_1;
|
||||
drop index ix_configuration_configurat_1;
|
||||
|
||||
alter table contact drop constraint fk_contact_customer_id;
|
||||
drop index ix_contact_customer_id;
|
||||
|
||||
alter table contact drop constraint fk_contact_group_id;
|
||||
drop index ix_contact_group_id;
|
||||
|
||||
alter table contact_note drop constraint fk_contact_note_contact_id;
|
||||
drop index ix_contact_note_contact_id;
|
||||
|
||||
alter table c_conversation drop constraint fk_c_conversation_group_id;
|
||||
drop index ix_c_conversation_group_id;
|
||||
|
||||
alter table o_customer drop constraint fk_o_customer_billing_addre_1;
|
||||
drop index ix_o_customer_billing_addre_1;
|
||||
|
||||
alter table o_customer drop constraint fk_o_customer_shipping_addr_2;
|
||||
drop index ix_o_customer_shipping_addr_2;
|
||||
|
||||
alter table eemb_inner drop constraint fk_eemb_inner_outer_id;
|
||||
drop index ix_eemb_inner_outer_id;
|
||||
|
||||
alter table einvoice drop constraint fk_einvoice_person_id;
|
||||
drop index ix_einvoice_person_id;
|
||||
|
||||
alter table enull_collection_detail drop constraint fk_enull_collection_detail__1;
|
||||
drop index ix_enull_collection_detail__1;
|
||||
|
||||
alter table eopt_one_a drop constraint fk_eopt_one_a_b_id;
|
||||
drop index ix_eopt_one_a_b_id;
|
||||
|
||||
alter table eopt_one_b drop constraint fk_eopt_one_b_c_id;
|
||||
drop index ix_eopt_one_b_c_id;
|
||||
|
||||
alter table evanilla_collection_detail drop constraint fk_evanilla_collection_deta_1;
|
||||
drop index ix_evanilla_collection_deta_1;
|
||||
|
||||
alter table td_child drop constraint fk_td_child_parent_id;
|
||||
drop index ix_td_child_parent_id;
|
||||
|
||||
alter table imrelated drop constraint fk_imrelated_owner_id;
|
||||
drop index ix_imrelated_owner_id;
|
||||
|
||||
alter table info_contact drop constraint fk_info_contact_company_id;
|
||||
drop index ix_info_contact_company_id;
|
||||
|
||||
alter table info_customer drop constraint fk_info_customer_company_id;
|
||||
|
||||
alter table inner_report drop constraint fk_inner_report_forecast_id;
|
||||
|
||||
alter table drel_invoice drop constraint fk_drel_invoice_booking;
|
||||
drop index ix_drel_invoice_booking;
|
||||
|
||||
alter table item drop constraint fk_item_type;
|
||||
drop index ix_item_customer_type;
|
||||
|
||||
alter table item drop constraint fk_item_region;
|
||||
drop index ix_item_customer_region;
|
||||
|
||||
alter table level1_level4 drop constraint fk_level1_level4_level1;
|
||||
drop index ix_level1_level4_level1_id;
|
||||
|
||||
alter table level1_level4 drop constraint fk_level1_level4_level4;
|
||||
drop index ix_level1_level4_level4_id;
|
||||
|
||||
alter table level1_level2 drop constraint fk_level1_level2_level1;
|
||||
drop index ix_level1_level2_level1_id;
|
||||
|
||||
alter table level1_level2 drop constraint fk_level1_level2_level2;
|
||||
drop index ix_level1_level2_level2_id;
|
||||
|
||||
alter table level2_level3 drop constraint fk_level2_level3_level2;
|
||||
drop index ix_level2_level3_level2_id;
|
||||
|
||||
alter table level2_level3 drop constraint fk_level2_level3_level3;
|
||||
drop index ix_level2_level3_level3_id;
|
||||
|
||||
alter table la_attr_value_attribute drop constraint fk_la_attr_value_attribute__1;
|
||||
drop index ix_la_attr_value_attribute__1;
|
||||
|
||||
alter table la_attr_value_attribute drop constraint fk_la_attr_value_attribute__2;
|
||||
drop index ix_la_attr_value_attribute__2;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_current_state_id;
|
||||
drop index ix_mprinter_current_state_id;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_cyan_id;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_magen_3;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_yello_4;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_black_5;
|
||||
|
||||
alter table mprinter_state drop constraint fk_mprinter_state_printer_id;
|
||||
drop index ix_mprinter_state_printer_id;
|
||||
|
||||
alter table mprofile drop constraint fk_mprofile_picture_id;
|
||||
drop index ix_mprofile_picture_id;
|
||||
|
||||
alter table mrole_muser drop constraint fk_mrole_muser_mrole;
|
||||
drop index ix_mrole_muser_mrole_roleid;
|
||||
|
||||
alter table mrole_muser drop constraint fk_mrole_muser_muser;
|
||||
drop index ix_mrole_muser_muser_userid;
|
||||
|
||||
alter table muser drop constraint fk_muser_user_type_id;
|
||||
drop index ix_muser_user_type_id;
|
||||
|
||||
alter table c_message drop constraint fk_c_message_conversation_id;
|
||||
drop index ix_c_message_conversation_id;
|
||||
|
||||
alter table c_message drop constraint fk_c_message_user_id;
|
||||
drop index ix_c_message_user_id;
|
||||
|
||||
alter table mnoc_user_mnoc_role drop constraint fk_mnoc_user_mnoc_role_mnoc_1;
|
||||
drop index ix_mnoc_user_mnoc_role_mnoc_1;
|
||||
|
||||
alter table mnoc_user_mnoc_role drop constraint fk_mnoc_user_mnoc_role_mnoc_2;
|
||||
drop index ix_mnoc_user_mnoc_role_mnoc_2;
|
||||
|
||||
alter table mp_role drop constraint fk_mp_role_mp_user_id;
|
||||
drop index ix_mp_role_mp_user_id;
|
||||
|
||||
alter table my_lob_size_join_many drop constraint fk_my_lob_size_join_many_pa_1;
|
||||
drop index ix_my_lob_size_join_many_pa_1;
|
||||
|
||||
alter table o_cached_bean_country drop constraint fk_o_cached_bean_country_o__1;
|
||||
drop index ix_o_cached_bean_country_o__1;
|
||||
|
||||
alter table o_cached_bean_country drop constraint fk_o_cached_bean_country_o__2;
|
||||
drop index ix_o_cached_bean_country_o__2;
|
||||
|
||||
alter table o_cached_bean_child drop constraint fk_o_cached_bean_child_cach_1;
|
||||
drop index ix_o_cached_bean_child_cach_1;
|
||||
|
||||
alter table oengine drop constraint fk_oengine_car_id;
|
||||
|
||||
alter table ogear_box drop constraint fk_ogear_box_car_id;
|
||||
|
||||
alter table o_order drop constraint fk_o_order_kcustomer_id;
|
||||
drop index ix_o_order_kcustomer_id;
|
||||
|
||||
alter table o_order_detail drop constraint fk_o_order_detail_order_id;
|
||||
drop index ix_o_order_detail_order_id;
|
||||
|
||||
alter table o_order_detail drop constraint fk_o_order_detail_product_id;
|
||||
drop index ix_o_order_detail_product_id;
|
||||
|
||||
alter table s_order_items drop constraint fk_s_order_items_order_uuid;
|
||||
drop index ix_s_order_items_order_uuid;
|
||||
|
||||
alter table or_order_ship drop constraint fk_or_order_ship_order_id;
|
||||
drop index ix_or_order_ship_order_id;
|
||||
|
||||
alter table oto_child drop constraint fk_oto_child_master_id;
|
||||
|
||||
alter table pfile drop constraint fk_pfile_file_content_id;
|
||||
|
||||
alter table pfile drop constraint fk_pfile_file_content2_id;
|
||||
|
||||
alter table paggview drop constraint fk_paggview_pview_id;
|
||||
|
||||
alter table pallet_location drop constraint fk_pallet_location_zone_sid;
|
||||
drop index ix_pallet_location_zone_sid;
|
||||
|
||||
alter table parcel_location drop constraint fk_parcel_location_parcelid;
|
||||
|
||||
alter table rawinherit_parent_rawinherit_d drop constraint fk_rawinherit_parent_rawinh_1;
|
||||
drop index ix_rawinherit_parent_rawinh_1;
|
||||
|
||||
alter table rawinherit_parent_rawinherit_d drop constraint fk_rawinherit_parent_rawinh_2;
|
||||
drop index ix_rawinherit_parent_rawinh_2;
|
||||
|
||||
alter table c_participation drop constraint fk_c_participation_conversa_1;
|
||||
drop index ix_c_participation_conversa_1;
|
||||
|
||||
alter table c_participation drop constraint fk_c_participation_user_id;
|
||||
drop index ix_c_participation_user_id;
|
||||
|
||||
alter table persistent_file_content drop constraint fk_persistent_file_content__1;
|
||||
|
||||
alter table person drop constraint fk_person_default_address_oid;
|
||||
drop index ix_person_default_address_oid;
|
||||
|
||||
alter table phones drop constraint fk_phones_person_id;
|
||||
drop index ix_phones_person_id;
|
||||
|
||||
alter table pp_to_ww drop constraint fk_pp_to_ww_pp;
|
||||
drop index ix_pp_to_ww_pp_id;
|
||||
|
||||
alter table pp_to_ww drop constraint fk_pp_to_ww_wview;
|
||||
drop index ix_pp_to_ww_ww_id;
|
||||
|
||||
alter table r_orders drop constraint fk_r_orders_rcustomer;
|
||||
drop index ix_r_orders_company_custome_1;
|
||||
|
||||
alter table resourcefile drop constraint fk_resourcefile_parentresou_1;
|
||||
drop index ix_resourcefile_parentresou_1;
|
||||
|
||||
alter table mt_role drop constraint fk_mt_role_tenant_id;
|
||||
drop index ix_mt_role_tenant_id;
|
||||
|
||||
alter table mt_role_permission drop constraint fk_mt_role_permission_mt_role;
|
||||
drop index ix_mt_role_permission_mt_ro_1;
|
||||
|
||||
alter table mt_role_permission drop constraint fk_mt_role_permission_mt_pe_2;
|
||||
drop index ix_mt_role_permission_mt_pe_2;
|
||||
|
||||
alter table f_second drop constraint fk_f_second_first;
|
||||
|
||||
alter table section drop constraint fk_section_article_id;
|
||||
drop index ix_section_article_id;
|
||||
|
||||
alter table self_parent drop constraint fk_self_parent_parent_id;
|
||||
drop index ix_self_parent_parent_id;
|
||||
|
||||
alter table self_ref_customer drop constraint fk_self_ref_customer_referr_1;
|
||||
drop index ix_self_ref_customer_referr_1;
|
||||
|
||||
alter table self_ref_example drop constraint fk_self_ref_example_parent_id;
|
||||
drop index ix_self_ref_example_parent_id;
|
||||
|
||||
alter table stockforecast drop constraint fk_stockforecast_inner_repo_1;
|
||||
drop index ix_stockforecast_inner_repo_1;
|
||||
|
||||
alter table sub_section drop constraint fk_sub_section_section_id;
|
||||
drop index ix_sub_section_section_id;
|
||||
|
||||
alter table t_detail_with_other_namexxxyy drop constraint fk_t_detail_with_other_name_1;
|
||||
drop index ix_t_detail_with_other_name_1;
|
||||
|
||||
alter table ts_detail_two drop constraint fk_ts_detail_two_master_id;
|
||||
drop index ix_ts_detail_two_master_id;
|
||||
|
||||
alter table twheel drop constraint fk_twheel_owner_plate_no;
|
||||
drop index ix_twheel_owner_plate_no;
|
||||
|
||||
alter table tire drop constraint fk_tire_wheel;
|
||||
|
||||
alter table trip drop constraint fk_trip_vehicle_driver_id;
|
||||
drop index ix_trip_vehicle_driver_id;
|
||||
|
||||
alter table trip drop constraint fk_trip_address_id;
|
||||
drop index ix_trip_address_id;
|
||||
|
||||
alter table type drop constraint fk_type_sub_type_id;
|
||||
drop index ix_type_sub_type_id;
|
||||
|
||||
alter table ut_detail drop constraint fk_ut_detail_utmaster_id;
|
||||
drop index ix_ut_detail_utmaster_id;
|
||||
|
||||
alter table uutwo drop constraint fk_uutwo_master_id;
|
||||
drop index ix_uutwo_master_id;
|
||||
|
||||
alter table c_user drop constraint fk_c_user_group_id;
|
||||
drop index ix_c_user_group_id;
|
||||
|
||||
alter table oto_user drop constraint fk_oto_user_account_id;
|
||||
|
||||
alter table em_user_role drop constraint fk_em_user_role_user_id;
|
||||
drop index ix_em_user_role_user_id;
|
||||
|
||||
alter table em_user_role drop constraint fk_em_user_role_role_id;
|
||||
drop index ix_em_user_role_role_id;
|
||||
|
||||
alter table vehicle drop constraint fk_vehicle_truck_ref_id;
|
||||
drop index ix_vehicle_truck_ref_id;
|
||||
|
||||
alter table vehicle drop constraint fk_vehicle_car_ref_id;
|
||||
drop index ix_vehicle_car_ref_id;
|
||||
|
||||
alter table vehicle_driver drop constraint fk_vehicle_driver_vehicle_id;
|
||||
drop index ix_vehicle_driver_vehicle_id;
|
||||
|
||||
alter table vehicle_driver drop constraint fk_vehicle_driver_address_id;
|
||||
drop index ix_vehicle_driver_address_id;
|
||||
|
||||
alter table warehouses drop constraint fk_warehouses_officezoneid;
|
||||
drop index ix_warehouses_officezoneid;
|
||||
|
||||
alter table warehousesshippingzones drop constraint fk_warehousesshippingzones__1;
|
||||
drop index ix_warehousesshippingzones__1;
|
||||
|
||||
alter table warehousesshippingzones drop constraint fk_warehousesshippingzones__2;
|
||||
drop index ix_warehousesshippingzones__2;
|
||||
|
||||
alter table sa_wheel drop constraint fk_sa_wheel_tire;
|
||||
drop index ix_sa_wheel_tire;
|
||||
|
||||
alter table sa_wheel drop constraint fk_sa_wheel_car;
|
||||
drop index ix_sa_wheel_car;
|
||||
|
||||
alter table with_zero drop constraint fk_with_zero_parent_id;
|
||||
drop index ix_with_zero_parent_id;
|
||||
|
||||
drop table asimple_bean cascade constraints purge;
|
||||
drop sequence asimple_bean_seq;
|
||||
|
||||
drop table bar cascade constraints purge;
|
||||
drop sequence bar_seq;
|
||||
|
||||
drop table oto_account cascade constraints purge;
|
||||
drop sequence oto_account_seq;
|
||||
|
||||
drop table o_address cascade constraints purge;
|
||||
drop sequence o_address_seq;
|
||||
|
||||
drop table address cascade constraints purge;
|
||||
drop sequence address_seq;
|
||||
|
||||
drop table animals cascade constraints purge;
|
||||
drop sequence animals_seq;
|
||||
|
||||
drop table animal_shelter cascade constraints purge;
|
||||
drop sequence animal_shelter_seq;
|
||||
|
||||
drop table article cascade constraints purge;
|
||||
drop sequence article_seq;
|
||||
|
||||
drop table attribute cascade constraints purge;
|
||||
drop sequence attribute_seq;
|
||||
|
||||
drop table attribute_holder cascade constraints purge;
|
||||
drop sequence attribute_holder_seq;
|
||||
|
||||
drop table audit_log cascade constraints purge;
|
||||
drop sequence audit_log_seq;
|
||||
|
||||
drop table bbookmark cascade constraints purge;
|
||||
drop sequence bbookmark_seq;
|
||||
|
||||
drop table bbookmark_user cascade constraints purge;
|
||||
drop sequence bbookmark_user_seq;
|
||||
|
||||
drop table bsimple_with_gen cascade constraints purge;
|
||||
drop sequence bsimple_with_gen_seq;
|
||||
|
||||
drop table bwith_qident cascade constraints purge;
|
||||
drop sequence bwith_qident_seq;
|
||||
|
||||
drop table basic_joda_entity cascade constraints purge;
|
||||
drop sequence basic_joda_entity_seq;
|
||||
|
||||
drop table bean_with_time_zone cascade constraints purge;
|
||||
drop sequence bean_with_time_zone_seq;
|
||||
|
||||
drop table drel_booking cascade constraints purge;
|
||||
drop sequence drel_booking_seq;
|
||||
|
||||
drop table ckey_assoc cascade constraints purge;
|
||||
drop sequence ckey_assoc_seq;
|
||||
|
||||
drop table ckey_detail cascade constraints purge;
|
||||
drop sequence ckey_detail_seq;
|
||||
|
||||
drop table ckey_parent cascade constraints purge;
|
||||
|
||||
drop table calculation_result cascade constraints purge;
|
||||
drop sequence calculation_result_seq;
|
||||
|
||||
drop table cao_bean cascade constraints purge;
|
||||
|
||||
drop table sa_car cascade constraints purge;
|
||||
drop sequence sa_car_seq;
|
||||
|
||||
drop table sp_car_car cascade constraints purge;
|
||||
drop sequence sp_car_car_seq;
|
||||
|
||||
drop table sp_car_car_wheels cascade constraints purge;
|
||||
|
||||
drop table car_accessory cascade constraints purge;
|
||||
drop sequence car_accessory_seq;
|
||||
|
||||
drop table configuration cascade constraints purge;
|
||||
drop sequence configuration_seq;
|
||||
|
||||
drop table configurations cascade constraints purge;
|
||||
drop sequence configurations_seq;
|
||||
|
||||
drop table contact cascade constraints purge;
|
||||
drop sequence contact_seq;
|
||||
|
||||
drop table contact_group cascade constraints purge;
|
||||
drop sequence contact_group_seq;
|
||||
|
||||
drop table contact_note cascade constraints purge;
|
||||
drop sequence contact_note_seq;
|
||||
|
||||
drop table c_conversation cascade constraints purge;
|
||||
drop sequence c_conversation_seq;
|
||||
|
||||
drop table o_country cascade constraints purge;
|
||||
|
||||
drop table o_customer cascade constraints purge;
|
||||
drop sequence o_customer_seq;
|
||||
|
||||
drop table dexh_entity cascade constraints purge;
|
||||
drop sequence dexh_entity_seq;
|
||||
|
||||
drop table dperson cascade constraints purge;
|
||||
drop sequence dperson_seq;
|
||||
|
||||
drop table rawinherit_data cascade constraints purge;
|
||||
drop sequence rawinherit_data_seq;
|
||||
|
||||
drop table e_basic cascade constraints purge;
|
||||
drop sequence e_basic_seq;
|
||||
|
||||
drop table ebasic_clob cascade constraints purge;
|
||||
drop sequence ebasic_clob_seq;
|
||||
|
||||
drop table ebasic_clob_fetch_eager cascade constraints purge;
|
||||
drop sequence ebasic_clob_fetch_eager_seq;
|
||||
|
||||
drop table ebasic_clob_no_ver cascade constraints purge;
|
||||
drop sequence ebasic_clob_no_ver_seq;
|
||||
|
||||
drop table e_basicenc cascade constraints purge;
|
||||
drop sequence e_basicenc_seq;
|
||||
|
||||
drop table e_basicenc_bin cascade constraints purge;
|
||||
drop sequence e_basicenc_bin_seq;
|
||||
|
||||
drop table e_basic_enum_id cascade constraints purge;
|
||||
|
||||
drop table ebasic_json_map cascade constraints purge;
|
||||
drop sequence ebasic_json_map_seq;
|
||||
|
||||
drop table ebasic_json_map_blob cascade constraints purge;
|
||||
drop sequence ebasic_json_map_blob_seq;
|
||||
|
||||
drop table ebasic_json_map_clob cascade constraints purge;
|
||||
drop sequence ebasic_json_map_clob_seq;
|
||||
|
||||
drop table ebasic_json_map_json_b cascade constraints purge;
|
||||
drop sequence ebasic_json_map_json_b_seq;
|
||||
|
||||
drop table ebasic_json_map_varchar cascade constraints purge;
|
||||
drop sequence ebasic_json_map_varchar_seq;
|
||||
|
||||
drop table ebasic_json_node cascade constraints purge;
|
||||
drop sequence ebasic_json_node_seq;
|
||||
|
||||
drop table ebasic_json_node_blob cascade constraints purge;
|
||||
drop sequence ebasic_json_node_blob_seq;
|
||||
|
||||
drop table ebasic_json_node_json_b cascade constraints purge;
|
||||
drop sequence ebasic_json_node_json_b_seq;
|
||||
|
||||
drop table ebasic_json_node_varchar cascade constraints purge;
|
||||
drop sequence ebasic_json_node_varchar_seq;
|
||||
|
||||
drop table e_basic_ndc cascade constraints purge;
|
||||
drop sequence e_basic_ndc_seq;
|
||||
|
||||
drop table e_basicver cascade constraints purge;
|
||||
drop sequence e_basicver_seq;
|
||||
|
||||
drop table e_basic_withlife cascade constraints purge;
|
||||
drop sequence e_basic_withlife_seq;
|
||||
|
||||
drop table e_basicverucon cascade constraints purge;
|
||||
drop sequence e_basicverucon_seq;
|
||||
|
||||
drop table eemb_inner cascade constraints purge;
|
||||
drop sequence eemb_inner_seq;
|
||||
|
||||
drop table eemb_outer cascade constraints purge;
|
||||
drop sequence eemb_outer_seq;
|
||||
|
||||
drop table egen_props cascade constraints purge;
|
||||
drop sequence egen_props_seq;
|
||||
|
||||
drop table einvoice cascade constraints purge;
|
||||
drop sequence einvoice_seq;
|
||||
|
||||
drop table e_main cascade constraints purge;
|
||||
drop sequence e_main_seq;
|
||||
|
||||
drop table enull_collection cascade constraints purge;
|
||||
drop sequence enull_collection_seq;
|
||||
|
||||
drop table enull_collection_detail cascade constraints purge;
|
||||
drop sequence enull_collection_detail_seq;
|
||||
|
||||
drop table eopt_one_a cascade constraints purge;
|
||||
drop sequence eopt_one_a_seq;
|
||||
|
||||
drop table eopt_one_b cascade constraints purge;
|
||||
drop sequence eopt_one_b_seq;
|
||||
|
||||
drop table eopt_one_c cascade constraints purge;
|
||||
drop sequence eopt_one_c_seq;
|
||||
|
||||
drop table eperson cascade constraints purge;
|
||||
drop sequence eperson_seq;
|
||||
|
||||
drop table esimple cascade constraints purge;
|
||||
drop sequence esimple_seq;
|
||||
|
||||
drop table esome_type cascade constraints purge;
|
||||
drop sequence esome_type_seq;
|
||||
|
||||
drop table etrans_many cascade constraints purge;
|
||||
drop sequence etrans_many_seq;
|
||||
|
||||
drop table evanilla_collection cascade constraints purge;
|
||||
drop sequence evanilla_collection_seq;
|
||||
|
||||
drop table evanilla_collection_detail cascade constraints purge;
|
||||
drop sequence evanilla_collection_detail_seq;
|
||||
|
||||
drop table ewho_props cascade constraints purge;
|
||||
drop sequence ewho_props_seq;
|
||||
|
||||
drop table e_withinet cascade constraints purge;
|
||||
drop sequence e_withinet_seq;
|
||||
|
||||
drop table td_child cascade constraints purge;
|
||||
drop sequence td_child_seq;
|
||||
|
||||
drop table td_parent cascade constraints purge;
|
||||
drop sequence td_parent_seq;
|
||||
|
||||
drop table feature_desc cascade constraints purge;
|
||||
drop sequence feature_desc_seq;
|
||||
|
||||
drop table f_first cascade constraints purge;
|
||||
drop sequence f_first_seq;
|
||||
|
||||
drop table foo cascade constraints purge;
|
||||
drop sequence foo_seq;
|
||||
|
||||
drop table gen_key_identity cascade constraints purge;
|
||||
drop sequence gen_key_identity_seq;
|
||||
|
||||
drop table gen_key_sequence cascade constraints purge;
|
||||
drop sequence seq;
|
||||
|
||||
drop table gen_key_table cascade constraints purge;
|
||||
drop sequence gen_key_table_seq;
|
||||
|
||||
drop table c_group cascade constraints purge;
|
||||
drop sequence c_group_seq;
|
||||
|
||||
drop table imrelated cascade constraints purge;
|
||||
drop sequence imrelated_seq;
|
||||
|
||||
drop table imroot cascade constraints purge;
|
||||
drop sequence imroot_seq;
|
||||
|
||||
drop table ixresource cascade constraints purge;
|
||||
|
||||
drop table info_company cascade constraints purge;
|
||||
drop sequence info_company_seq;
|
||||
|
||||
drop table info_contact cascade constraints purge;
|
||||
drop sequence info_contact_seq;
|
||||
|
||||
drop table info_customer cascade constraints purge;
|
||||
drop sequence info_customer_seq;
|
||||
|
||||
drop table inner_report cascade constraints purge;
|
||||
drop sequence inner_report_seq;
|
||||
|
||||
drop table drel_invoice cascade constraints purge;
|
||||
drop sequence drel_invoice_seq;
|
||||
|
||||
drop table item cascade constraints purge;
|
||||
|
||||
drop table level1 cascade constraints purge;
|
||||
drop sequence level1_seq;
|
||||
|
||||
drop table level1_level4 cascade constraints purge;
|
||||
|
||||
drop table level1_level2 cascade constraints purge;
|
||||
|
||||
drop table level2 cascade constraints purge;
|
||||
drop sequence level2_seq;
|
||||
|
||||
drop table level2_level3 cascade constraints purge;
|
||||
|
||||
drop table level3 cascade constraints purge;
|
||||
drop sequence level3_seq;
|
||||
|
||||
drop table level4 cascade constraints purge;
|
||||
drop sequence level4_seq;
|
||||
|
||||
drop table la_attr_value cascade constraints purge;
|
||||
drop sequence la_attr_value_seq;
|
||||
|
||||
drop table la_attr_value_attribute cascade constraints purge;
|
||||
|
||||
drop table mmedia cascade constraints purge;
|
||||
drop sequence mmedia_seq;
|
||||
|
||||
drop table non_updateprop cascade constraints purge;
|
||||
drop sequence non_updateprop_seq;
|
||||
|
||||
drop table mprinter cascade constraints purge;
|
||||
drop sequence mprinter_seq;
|
||||
|
||||
drop table mprinter_state cascade constraints purge;
|
||||
drop sequence mprinter_state_seq;
|
||||
|
||||
drop table mprofile cascade constraints purge;
|
||||
drop sequence mprofile_seq;
|
||||
|
||||
drop table mprotected_construct_bean cascade constraints purge;
|
||||
drop sequence mprotected_construct_bean_seq;
|
||||
|
||||
drop table mrole cascade constraints purge;
|
||||
drop sequence mrole_seq;
|
||||
|
||||
drop table mrole_muser cascade constraints purge;
|
||||
|
||||
drop table msome_other cascade constraints purge;
|
||||
drop sequence msome_other_seq;
|
||||
|
||||
drop table muser cascade constraints purge;
|
||||
drop sequence muser_seq;
|
||||
|
||||
drop table muser_type cascade constraints purge;
|
||||
drop sequence muser_type_seq;
|
||||
|
||||
drop table map_super_actual cascade constraints purge;
|
||||
drop sequence map_super_actual_seq;
|
||||
|
||||
drop table c_message cascade constraints purge;
|
||||
drop sequence c_message_seq;
|
||||
|
||||
drop table mnoc_role cascade constraints purge;
|
||||
drop sequence mnoc_role_seq;
|
||||
|
||||
drop table mnoc_user cascade constraints purge;
|
||||
drop sequence mnoc_user_seq;
|
||||
|
||||
drop table mnoc_user_mnoc_role cascade constraints purge;
|
||||
|
||||
drop table mp_role cascade constraints purge;
|
||||
drop sequence mp_role_seq;
|
||||
|
||||
drop table mp_user cascade constraints purge;
|
||||
drop sequence mp_user_seq;
|
||||
|
||||
drop table my_lob_size cascade constraints purge;
|
||||
drop sequence my_lob_size_seq;
|
||||
|
||||
drop table my_lob_size_join_many cascade constraints purge;
|
||||
drop sequence my_lob_size_join_many_seq;
|
||||
|
||||
drop table noidbean cascade constraints purge;
|
||||
|
||||
drop table o_cached_bean cascade constraints purge;
|
||||
drop sequence o_cached_bean_seq;
|
||||
|
||||
drop table o_cached_bean_country cascade constraints purge;
|
||||
|
||||
drop table o_cached_bean_child cascade constraints purge;
|
||||
drop sequence o_cached_bean_child_seq;
|
||||
|
||||
drop table ocar cascade constraints purge;
|
||||
drop sequence ocar_seq;
|
||||
|
||||
drop table oengine cascade constraints purge;
|
||||
|
||||
drop table ogear_box cascade constraints purge;
|
||||
|
||||
drop table o_order cascade constraints purge;
|
||||
drop sequence o_order_seq;
|
||||
|
||||
drop table o_order_detail cascade constraints purge;
|
||||
drop sequence o_order_detail_seq;
|
||||
|
||||
drop table s_orders cascade constraints purge;
|
||||
|
||||
drop table s_order_items cascade constraints purge;
|
||||
|
||||
drop table or_order_ship cascade constraints purge;
|
||||
drop sequence or_order_ship_seq;
|
||||
|
||||
drop table oto_child cascade constraints purge;
|
||||
drop sequence oto_child_seq;
|
||||
|
||||
drop table oto_master cascade constraints purge;
|
||||
drop sequence oto_master_seq;
|
||||
|
||||
drop table pfile cascade constraints purge;
|
||||
drop sequence pfile_seq;
|
||||
|
||||
drop table pfile_content cascade constraints purge;
|
||||
drop sequence pfile_content_seq;
|
||||
|
||||
drop table paggview cascade constraints purge;
|
||||
|
||||
drop table pallet_location cascade constraints purge;
|
||||
drop sequence pallet_location_seq;
|
||||
|
||||
drop table parcel cascade constraints purge;
|
||||
drop sequence parcel_seq;
|
||||
|
||||
drop table parcel_location cascade constraints purge;
|
||||
drop sequence parcel_location_seq;
|
||||
|
||||
drop table rawinherit_parent cascade constraints purge;
|
||||
drop sequence rawinherit_parent_seq;
|
||||
|
||||
drop table rawinherit_parent_rawinherit_d cascade constraints purge;
|
||||
|
||||
drop table c_participation cascade constraints purge;
|
||||
drop sequence c_participation_seq;
|
||||
|
||||
drop table mt_permission cascade constraints purge;
|
||||
|
||||
drop table persistent_file cascade constraints purge;
|
||||
drop sequence persistent_file_seq;
|
||||
|
||||
drop table persistent_file_content cascade constraints purge;
|
||||
drop sequence persistent_file_content_seq;
|
||||
|
||||
drop table persons cascade constraints purge;
|
||||
drop sequence persons_seq;
|
||||
|
||||
drop table person cascade constraints purge;
|
||||
drop sequence person_seq;
|
||||
|
||||
drop table phones cascade constraints purge;
|
||||
drop sequence phones_seq;
|
||||
|
||||
drop table o_product cascade constraints purge;
|
||||
drop sequence o_product_seq;
|
||||
|
||||
drop table pp cascade constraints purge;
|
||||
|
||||
drop table pp_to_ww cascade constraints purge;
|
||||
|
||||
drop table rcustomer cascade constraints purge;
|
||||
|
||||
drop table r_orders cascade constraints purge;
|
||||
|
||||
drop table region cascade constraints purge;
|
||||
|
||||
drop table resourcefile cascade constraints purge;
|
||||
|
||||
drop table mt_role cascade constraints purge;
|
||||
|
||||
drop table mt_role_permission cascade constraints purge;
|
||||
|
||||
drop table em_role cascade constraints purge;
|
||||
drop sequence em_role_seq;
|
||||
|
||||
drop table f_second cascade constraints purge;
|
||||
drop sequence f_second_seq;
|
||||
|
||||
drop table section cascade constraints purge;
|
||||
drop sequence section_seq;
|
||||
|
||||
drop table self_parent cascade constraints purge;
|
||||
drop sequence self_parent_seq;
|
||||
|
||||
drop table self_ref_customer cascade constraints purge;
|
||||
drop sequence self_ref_customer_seq;
|
||||
|
||||
drop table self_ref_example cascade constraints purge;
|
||||
drop sequence self_ref_example_seq;
|
||||
|
||||
drop table some_enum_bean cascade constraints purge;
|
||||
drop sequence some_enum_bean_seq;
|
||||
|
||||
drop table some_file_bean cascade constraints purge;
|
||||
drop sequence some_file_bean_seq;
|
||||
|
||||
drop table some_new_types_bean cascade constraints purge;
|
||||
drop sequence some_new_types_bean_seq;
|
||||
|
||||
drop table some_period_bean cascade constraints purge;
|
||||
drop sequence some_period_bean_seq;
|
||||
|
||||
drop table stockforecast cascade constraints purge;
|
||||
drop sequence stockforecast_seq;
|
||||
|
||||
drop table sub_section cascade constraints purge;
|
||||
drop sequence sub_section_seq;
|
||||
|
||||
drop table sub_type cascade constraints purge;
|
||||
drop sequence sub_type_seq;
|
||||
|
||||
drop table tbytes_only cascade constraints purge;
|
||||
drop sequence tbytes_only_seq;
|
||||
|
||||
drop table tcar cascade constraints purge;
|
||||
|
||||
drop table tint_root cascade constraints purge;
|
||||
drop sequence tint_root_seq;
|
||||
|
||||
drop table tjoda_entity cascade constraints purge;
|
||||
drop sequence tjoda_entity_seq;
|
||||
|
||||
drop table t_mapsuper1 cascade constraints purge;
|
||||
drop sequence t_mapsuper1_seq;
|
||||
|
||||
drop table t_oneb cascade constraints purge;
|
||||
drop sequence t_oneb_seq;
|
||||
|
||||
drop table t_detail_with_other_namexxxyy cascade constraints purge;
|
||||
drop sequence t_atable_detail_seq;
|
||||
|
||||
drop table ts_detail_two cascade constraints purge;
|
||||
drop sequence ts_detail_two_seq;
|
||||
|
||||
drop table t_atable_thatisrelatively cascade constraints purge;
|
||||
drop sequence t_atable_master_seq;
|
||||
|
||||
drop table ts_master_two cascade constraints purge;
|
||||
drop sequence ts_master_two_seq;
|
||||
|
||||
drop table tuuid_entity cascade constraints purge;
|
||||
|
||||
drop table twheel cascade constraints purge;
|
||||
drop sequence twheel_seq;
|
||||
|
||||
drop table twith_pre_insert cascade constraints purge;
|
||||
drop sequence twith_pre_insert_seq;
|
||||
|
||||
drop table mt_tenant cascade constraints purge;
|
||||
|
||||
drop table sa_tire cascade constraints purge;
|
||||
drop sequence sa_tire_seq;
|
||||
|
||||
drop table tire cascade constraints purge;
|
||||
drop sequence tire_seq;
|
||||
|
||||
drop table trip cascade constraints purge;
|
||||
drop sequence trip_seq;
|
||||
|
||||
drop table truck_ref cascade constraints purge;
|
||||
drop sequence truck_ref_seq;
|
||||
|
||||
drop table type cascade constraints purge;
|
||||
|
||||
drop table ut_detail cascade constraints purge;
|
||||
drop sequence ut_detail_seq;
|
||||
|
||||
drop table ut_master cascade constraints purge;
|
||||
drop sequence ut_master_seq;
|
||||
|
||||
drop table uuone cascade constraints purge;
|
||||
|
||||
drop table uutwo cascade constraints purge;
|
||||
|
||||
drop table em_user cascade constraints purge;
|
||||
drop sequence em_user_seq;
|
||||
|
||||
drop table tx_user cascade constraints purge;
|
||||
drop sequence tx_user_seq;
|
||||
|
||||
drop table c_user cascade constraints purge;
|
||||
drop sequence c_user_seq;
|
||||
|
||||
drop table oto_user cascade constraints purge;
|
||||
drop sequence oto_user_seq;
|
||||
|
||||
drop table em_user_role cascade constraints purge;
|
||||
|
||||
drop table vehicle cascade constraints purge;
|
||||
drop sequence vehicle_seq;
|
||||
|
||||
drop table vehicle_driver cascade constraints purge;
|
||||
drop sequence vehicle_driver_seq;
|
||||
|
||||
drop table warehouses cascade constraints purge;
|
||||
drop sequence warehouses_seq;
|
||||
|
||||
drop table warehousesshippingzones cascade constraints purge;
|
||||
|
||||
drop table sa_wheel cascade constraints purge;
|
||||
drop sequence sa_wheel_seq;
|
||||
|
||||
drop table sp_car_wheel cascade constraints purge;
|
||||
drop sequence sp_car_wheel_seq;
|
||||
|
||||
drop table wheel cascade constraints purge;
|
||||
drop sequence wheel_seq;
|
||||
|
||||
drop table with_zero cascade constraints purge;
|
||||
drop sequence with_zero_seq;
|
||||
|
||||
drop table parent cascade constraints purge;
|
||||
drop sequence parent_seq;
|
||||
|
||||
drop table wview cascade constraints purge;
|
||||
|
||||
drop table zones cascade constraints purge;
|
||||
drop sequence zones_seq;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,776 @@
|
||||
alter table bar drop constraint fk_bar_foo_id;
|
||||
drop index ix_bar_foo_id;
|
||||
|
||||
alter table o_address drop constraint fk_o_address_country_code;
|
||||
drop index ix_o_address_country_code;
|
||||
|
||||
alter table animals drop constraint fk_animals_shelter_id;
|
||||
drop index ix_animals_shelter_id;
|
||||
|
||||
alter table attribute drop constraint fk_attribute_attribute_holder_1;
|
||||
drop index ix_attribute_attribute_holder_1;
|
||||
|
||||
alter table bbookmark drop constraint fk_bbookmark_user_id;
|
||||
drop index ix_bbookmark_user_id;
|
||||
|
||||
alter table drel_booking drop constraint fk_drel_booking_agent_invoice;
|
||||
|
||||
alter table drel_booking drop constraint fk_drel_booking_client_invoice;
|
||||
|
||||
alter table ckey_detail drop constraint fk_ckey_detail_ckey_parent;
|
||||
drop index ix_ckey_detail_one_key_two_key;
|
||||
|
||||
alter table ckey_parent drop constraint fk_ckey_parent_assoc_id;
|
||||
drop index ix_ckey_parent_assoc_id;
|
||||
|
||||
alter table calculation_result drop constraint fk_calculation_result_product_1;
|
||||
drop index ix_calculation_result_product_1;
|
||||
|
||||
alter table calculation_result drop constraint fk_calculation_result_group_c_2;
|
||||
drop index ix_calculation_result_group_c_2;
|
||||
|
||||
alter table sp_car_car_wheels drop constraint fk_sp_car_car_wheels_sp_car_car;
|
||||
drop index ix_sp_car_car_wheels_car;
|
||||
|
||||
alter table sp_car_car_wheels drop constraint fk_sp_car_car_wheels_sp_car_w_2;
|
||||
drop index ix_sp_car_car_wheels_wheel;
|
||||
|
||||
alter table car_accessory drop constraint fk_car_accessory_car_id;
|
||||
drop index ix_car_accessory_car_id;
|
||||
|
||||
alter table configuration drop constraint fk_configuration_configuratio_1;
|
||||
drop index ix_configuration_configuratio_1;
|
||||
|
||||
alter table contact drop constraint fk_contact_customer_id;
|
||||
drop index ix_contact_customer_id;
|
||||
|
||||
alter table contact drop constraint fk_contact_group_id;
|
||||
drop index ix_contact_group_id;
|
||||
|
||||
alter table contact_note drop constraint fk_contact_note_contact_id;
|
||||
drop index ix_contact_note_contact_id;
|
||||
|
||||
alter table c_conversation drop constraint fk_c_conversation_group_id;
|
||||
drop index ix_c_conversation_group_id;
|
||||
|
||||
alter table o_customer drop constraint fk_o_customer_billing_address_1;
|
||||
drop index ix_o_customer_billing_address_1;
|
||||
|
||||
alter table o_customer drop constraint fk_o_customer_shipping_addres_2;
|
||||
drop index ix_o_customer_shipping_addres_2;
|
||||
|
||||
alter table eemb_inner drop constraint fk_eemb_inner_outer_id;
|
||||
drop index ix_eemb_inner_outer_id;
|
||||
|
||||
alter table einvoice drop constraint fk_einvoice_person_id;
|
||||
drop index ix_einvoice_person_id;
|
||||
|
||||
alter table enull_collection_detail drop constraint fk_enull_collection_detail_en_1;
|
||||
drop index ix_enull_collection_detail_en_1;
|
||||
|
||||
alter table eopt_one_a drop constraint fk_eopt_one_a_b_id;
|
||||
drop index ix_eopt_one_a_b_id;
|
||||
|
||||
alter table eopt_one_b drop constraint fk_eopt_one_b_c_id;
|
||||
drop index ix_eopt_one_b_c_id;
|
||||
|
||||
alter table evanilla_collection_detail drop constraint fk_evanilla_collection_detail_1;
|
||||
drop index ix_evanilla_collection_detail_1;
|
||||
|
||||
alter table td_child drop constraint fk_td_child_parent_id;
|
||||
drop index ix_td_child_parent_id;
|
||||
|
||||
alter table imrelated drop constraint fk_imrelated_owner_id;
|
||||
drop index ix_imrelated_owner_id;
|
||||
|
||||
alter table info_contact drop constraint fk_info_contact_company_id;
|
||||
drop index ix_info_contact_company_id;
|
||||
|
||||
alter table info_customer drop constraint fk_info_customer_company_id;
|
||||
|
||||
alter table inner_report drop constraint fk_inner_report_forecast_id;
|
||||
|
||||
alter table drel_invoice drop constraint fk_drel_invoice_booking;
|
||||
drop index ix_drel_invoice_booking;
|
||||
|
||||
alter table item drop constraint fk_item_type;
|
||||
drop index ix_item_customer_type;
|
||||
|
||||
alter table item drop constraint fk_item_region;
|
||||
drop index ix_item_customer_region;
|
||||
|
||||
alter table level1_level4 drop constraint fk_level1_level4_level1;
|
||||
drop index ix_level1_level4_level1_id;
|
||||
|
||||
alter table level1_level4 drop constraint fk_level1_level4_level4;
|
||||
drop index ix_level1_level4_level4_id;
|
||||
|
||||
alter table level1_level2 drop constraint fk_level1_level2_level1;
|
||||
drop index ix_level1_level2_level1_id;
|
||||
|
||||
alter table level1_level2 drop constraint fk_level1_level2_level2;
|
||||
drop index ix_level1_level2_level2_id;
|
||||
|
||||
alter table level2_level3 drop constraint fk_level2_level3_level2;
|
||||
drop index ix_level2_level3_level2_id;
|
||||
|
||||
alter table level2_level3 drop constraint fk_level2_level3_level3;
|
||||
drop index ix_level2_level3_level3_id;
|
||||
|
||||
alter table la_attr_value_attribute drop constraint fk_la_attr_value_attribute_la_1;
|
||||
drop index ix_la_attr_value_attribute_la_1;
|
||||
|
||||
alter table la_attr_value_attribute drop constraint fk_la_attr_value_attribute_at_2;
|
||||
drop index ix_la_attr_value_attribute_at_2;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_current_state_id;
|
||||
drop index ix_mprinter_current_state_id;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_cyan_id;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_magenta_3;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_yellow_id;
|
||||
|
||||
alter table mprinter drop constraint fk_mprinter_last_swap_black_id;
|
||||
|
||||
alter table mprinter_state drop constraint fk_mprinter_state_printer_id;
|
||||
drop index ix_mprinter_state_printer_id;
|
||||
|
||||
alter table mprofile drop constraint fk_mprofile_picture_id;
|
||||
drop index ix_mprofile_picture_id;
|
||||
|
||||
alter table mrole_muser drop constraint fk_mrole_muser_mrole;
|
||||
drop index ix_mrole_muser_mrole_roleid;
|
||||
|
||||
alter table mrole_muser drop constraint fk_mrole_muser_muser;
|
||||
drop index ix_mrole_muser_muser_userid;
|
||||
|
||||
alter table muser drop constraint fk_muser_user_type_id;
|
||||
drop index ix_muser_user_type_id;
|
||||
|
||||
alter table c_message drop constraint fk_c_message_conversation_id;
|
||||
drop index ix_c_message_conversation_id;
|
||||
|
||||
alter table c_message drop constraint fk_c_message_user_id;
|
||||
drop index ix_c_message_user_id;
|
||||
|
||||
alter table mnoc_user_mnoc_role drop constraint fk_mnoc_user_mnoc_role_mnoc_u_1;
|
||||
drop index ix_mnoc_user_mnoc_role_mnoc_u_1;
|
||||
|
||||
alter table mnoc_user_mnoc_role drop constraint fk_mnoc_user_mnoc_role_mnoc_r_2;
|
||||
drop index ix_mnoc_user_mnoc_role_mnoc_r_2;
|
||||
|
||||
alter table mp_role drop constraint fk_mp_role_mp_user_id;
|
||||
drop index ix_mp_role_mp_user_id;
|
||||
|
||||
alter table my_lob_size_join_many drop constraint fk_my_lob_size_join_many_pare_1;
|
||||
drop index ix_my_lob_size_join_many_pare_1;
|
||||
|
||||
alter table o_cached_bean_country drop constraint fk_o_cached_bean_country_o_ca_1;
|
||||
drop index ix_o_cached_bean_country_o_ca_1;
|
||||
|
||||
alter table o_cached_bean_country drop constraint fk_o_cached_bean_country_o_co_2;
|
||||
drop index ix_o_cached_bean_country_o_co_2;
|
||||
|
||||
alter table o_cached_bean_child drop constraint fk_o_cached_bean_child_cached_1;
|
||||
drop index ix_o_cached_bean_child_cached_1;
|
||||
|
||||
alter table oengine drop constraint fk_oengine_car_id;
|
||||
|
||||
alter table ogear_box drop constraint fk_ogear_box_car_id;
|
||||
|
||||
alter table o_order drop constraint fk_o_order_kcustomer_id;
|
||||
drop index ix_o_order_kcustomer_id;
|
||||
|
||||
alter table o_order_detail drop constraint fk_o_order_detail_order_id;
|
||||
drop index ix_o_order_detail_order_id;
|
||||
|
||||
alter table o_order_detail drop constraint fk_o_order_detail_product_id;
|
||||
drop index ix_o_order_detail_product_id;
|
||||
|
||||
alter table s_order_items drop constraint fk_s_order_items_order_uuid;
|
||||
drop index ix_s_order_items_order_uuid;
|
||||
|
||||
alter table or_order_ship drop constraint fk_or_order_ship_order_id;
|
||||
drop index ix_or_order_ship_order_id;
|
||||
|
||||
alter table oto_child drop constraint fk_oto_child_master_id;
|
||||
|
||||
alter table pfile drop constraint fk_pfile_file_content_id;
|
||||
|
||||
alter table pfile drop constraint fk_pfile_file_content2_id;
|
||||
|
||||
alter table paggview drop constraint fk_paggview_pview_id;
|
||||
|
||||
alter table pallet_location drop constraint fk_pallet_location_zone_sid;
|
||||
drop index ix_pallet_location_zone_sid;
|
||||
|
||||
alter table parcel_location drop constraint fk_parcel_location_parcelid;
|
||||
|
||||
alter table rawinherit_parent_rawinherit_dat drop constraint fk_rawinherit_parent_rawinher_1;
|
||||
drop index ix_rawinherit_parent_rawinher_1;
|
||||
|
||||
alter table rawinherit_parent_rawinherit_dat drop constraint fk_rawinherit_parent_rawinher_2;
|
||||
drop index ix_rawinherit_parent_rawinher_2;
|
||||
|
||||
alter table c_participation drop constraint fk_c_participation_conversati_1;
|
||||
drop index ix_c_participation_conversati_1;
|
||||
|
||||
alter table c_participation drop constraint fk_c_participation_user_id;
|
||||
drop index ix_c_participation_user_id;
|
||||
|
||||
alter table persistent_file_content drop constraint fk_persistent_file_content_pe_1;
|
||||
|
||||
alter table person drop constraint fk_person_default_address_oid;
|
||||
drop index ix_person_default_address_oid;
|
||||
|
||||
alter table phones drop constraint fk_phones_person_id;
|
||||
drop index ix_phones_person_id;
|
||||
|
||||
alter table pp_to_ww drop constraint fk_pp_to_ww_pp;
|
||||
drop index ix_pp_to_ww_pp_id;
|
||||
|
||||
alter table pp_to_ww drop constraint fk_pp_to_ww_wview;
|
||||
drop index ix_pp_to_ww_ww_id;
|
||||
|
||||
alter table r_orders drop constraint fk_r_orders_rcustomer;
|
||||
drop index ix_r_orders_company_customern_1;
|
||||
|
||||
alter table resourcefile drop constraint fk_resourcefile_parentresourc_1;
|
||||
drop index ix_resourcefile_parentresourc_1;
|
||||
|
||||
alter table mt_role drop constraint fk_mt_role_tenant_id;
|
||||
drop index ix_mt_role_tenant_id;
|
||||
|
||||
alter table mt_role_permission drop constraint fk_mt_role_permission_mt_role;
|
||||
drop index ix_mt_role_permission_mt_role_1;
|
||||
|
||||
alter table mt_role_permission drop constraint fk_mt_role_permission_mt_perm_2;
|
||||
drop index ix_mt_role_permission_mt_perm_2;
|
||||
|
||||
alter table f_second drop constraint fk_f_second_first;
|
||||
|
||||
alter table section drop constraint fk_section_article_id;
|
||||
drop index ix_section_article_id;
|
||||
|
||||
alter table self_parent drop constraint fk_self_parent_parent_id;
|
||||
drop index ix_self_parent_parent_id;
|
||||
|
||||
alter table self_ref_customer drop constraint fk_self_ref_customer_referred_1;
|
||||
drop index ix_self_ref_customer_referred_1;
|
||||
|
||||
alter table self_ref_example drop constraint fk_self_ref_example_parent_id;
|
||||
drop index ix_self_ref_example_parent_id;
|
||||
|
||||
alter table stockforecast drop constraint fk_stockforecast_inner_report_1;
|
||||
drop index ix_stockforecast_inner_report_1;
|
||||
|
||||
alter table sub_section drop constraint fk_sub_section_section_id;
|
||||
drop index ix_sub_section_section_id;
|
||||
|
||||
alter table t_detail_with_other_namexxxyy drop constraint fk_t_detail_with_other_namexx_1;
|
||||
drop index ix_t_detail_with_other_namexx_1;
|
||||
|
||||
alter table ts_detail_two drop constraint fk_ts_detail_two_master_id;
|
||||
drop index ix_ts_detail_two_master_id;
|
||||
|
||||
alter table twheel drop constraint fk_twheel_owner_plate_no;
|
||||
drop index ix_twheel_owner_plate_no;
|
||||
|
||||
alter table tire drop constraint fk_tire_wheel;
|
||||
|
||||
alter table trip drop constraint fk_trip_vehicle_driver_id;
|
||||
drop index ix_trip_vehicle_driver_id;
|
||||
|
||||
alter table trip drop constraint fk_trip_address_id;
|
||||
drop index ix_trip_address_id;
|
||||
|
||||
alter table type drop constraint fk_type_sub_type_id;
|
||||
drop index ix_type_sub_type_id;
|
||||
|
||||
alter table ut_detail drop constraint fk_ut_detail_utmaster_id;
|
||||
drop index ix_ut_detail_utmaster_id;
|
||||
|
||||
alter table uutwo drop constraint fk_uutwo_master_id;
|
||||
drop index ix_uutwo_master_id;
|
||||
|
||||
alter table c_user drop constraint fk_c_user_group_id;
|
||||
drop index ix_c_user_group_id;
|
||||
|
||||
alter table oto_user drop constraint fk_oto_user_account_id;
|
||||
|
||||
alter table em_user_role drop constraint fk_em_user_role_user_id;
|
||||
drop index ix_em_user_role_user_id;
|
||||
|
||||
alter table em_user_role drop constraint fk_em_user_role_role_id;
|
||||
drop index ix_em_user_role_role_id;
|
||||
|
||||
alter table vehicle drop constraint fk_vehicle_truck_ref_id;
|
||||
drop index ix_vehicle_truck_ref_id;
|
||||
|
||||
alter table vehicle drop constraint fk_vehicle_car_ref_id;
|
||||
drop index ix_vehicle_car_ref_id;
|
||||
|
||||
alter table vehicle_driver drop constraint fk_vehicle_driver_vehicle_id;
|
||||
drop index ix_vehicle_driver_vehicle_id;
|
||||
|
||||
alter table vehicle_driver drop constraint fk_vehicle_driver_address_id;
|
||||
drop index ix_vehicle_driver_address_id;
|
||||
|
||||
alter table warehouses drop constraint fk_warehouses_officezoneid;
|
||||
drop index ix_warehouses_officezoneid;
|
||||
|
||||
alter table warehousesshippingzones drop constraint fk_warehousesshippingzones_wa_1;
|
||||
drop index ix_warehousesshippingzones_wa_1;
|
||||
|
||||
alter table warehousesshippingzones drop constraint fk_warehousesshippingzones_zo_2;
|
||||
drop index ix_warehousesshippingzones_sh_2;
|
||||
|
||||
alter table sa_wheel drop constraint fk_sa_wheel_tire;
|
||||
drop index ix_sa_wheel_tire;
|
||||
|
||||
alter table sa_wheel drop constraint fk_sa_wheel_car;
|
||||
drop index ix_sa_wheel_car;
|
||||
|
||||
alter table with_zero drop constraint fk_with_zero_parent_id;
|
||||
drop index ix_with_zero_parent_id;
|
||||
|
||||
drop table if exists asimple_bean cascade;
|
||||
|
||||
drop table if exists bar cascade;
|
||||
|
||||
drop table if exists oto_account cascade;
|
||||
|
||||
drop table if exists o_address cascade;
|
||||
|
||||
drop table if exists address cascade;
|
||||
|
||||
drop table if exists animals cascade;
|
||||
|
||||
drop table if exists animal_shelter cascade;
|
||||
|
||||
drop table if exists article cascade;
|
||||
|
||||
drop table if exists attribute cascade;
|
||||
|
||||
drop table if exists attribute_holder cascade;
|
||||
|
||||
drop table if exists audit_log cascade;
|
||||
|
||||
drop table if exists bbookmark cascade;
|
||||
|
||||
drop table if exists bbookmark_user cascade;
|
||||
|
||||
drop table if exists bsimple_with_gen cascade;
|
||||
|
||||
drop table if exists bwith_qident cascade;
|
||||
|
||||
drop table if exists basic_joda_entity cascade;
|
||||
|
||||
drop table if exists bean_with_time_zone cascade;
|
||||
|
||||
drop table if exists drel_booking cascade;
|
||||
drop sequence if exists drel_booking_seq;
|
||||
|
||||
drop table if exists ckey_assoc cascade;
|
||||
|
||||
drop table if exists ckey_detail cascade;
|
||||
|
||||
drop table if exists ckey_parent cascade;
|
||||
|
||||
drop table if exists calculation_result cascade;
|
||||
|
||||
drop table if exists cao_bean cascade;
|
||||
|
||||
drop table if exists sa_car cascade;
|
||||
drop sequence if exists sa_car_seq;
|
||||
|
||||
drop table if exists sp_car_car cascade;
|
||||
drop sequence if exists sp_car_car_seq;
|
||||
|
||||
drop table if exists sp_car_car_wheels cascade;
|
||||
|
||||
drop table if exists car_accessory cascade;
|
||||
|
||||
drop table if exists configuration cascade;
|
||||
|
||||
drop table if exists configurations cascade;
|
||||
|
||||
drop table if exists contact cascade;
|
||||
|
||||
drop table if exists contact_group cascade;
|
||||
|
||||
drop table if exists contact_note cascade;
|
||||
|
||||
drop table if exists c_conversation cascade;
|
||||
|
||||
drop table if exists o_country cascade;
|
||||
|
||||
drop table if exists o_customer cascade;
|
||||
|
||||
drop table if exists dexh_entity cascade;
|
||||
|
||||
drop table if exists dperson cascade;
|
||||
|
||||
drop table if exists rawinherit_data cascade;
|
||||
|
||||
drop table if exists e_basic cascade;
|
||||
|
||||
drop table if exists ebasic_clob cascade;
|
||||
|
||||
drop table if exists ebasic_clob_fetch_eager cascade;
|
||||
|
||||
drop table if exists ebasic_clob_no_ver cascade;
|
||||
|
||||
drop table if exists e_basicenc cascade;
|
||||
|
||||
drop table if exists e_basicenc_bin cascade;
|
||||
|
||||
drop table if exists e_basic_enum_id cascade;
|
||||
|
||||
drop table if exists ebasic_json_map cascade;
|
||||
|
||||
drop table if exists ebasic_json_map_blob cascade;
|
||||
|
||||
drop table if exists ebasic_json_map_clob cascade;
|
||||
|
||||
drop table if exists ebasic_json_map_json_b cascade;
|
||||
|
||||
drop table if exists ebasic_json_map_varchar cascade;
|
||||
|
||||
drop table if exists ebasic_json_node cascade;
|
||||
|
||||
drop table if exists ebasic_json_node_blob cascade;
|
||||
|
||||
drop table if exists ebasic_json_node_json_b cascade;
|
||||
|
||||
drop table if exists ebasic_json_node_varchar cascade;
|
||||
|
||||
drop table if exists e_basic_ndc cascade;
|
||||
|
||||
drop table if exists e_basicver cascade;
|
||||
|
||||
drop table if exists e_basic_withlife cascade;
|
||||
|
||||
drop table if exists e_basicverucon cascade;
|
||||
|
||||
drop table if exists eemb_inner cascade;
|
||||
|
||||
drop table if exists eemb_outer cascade;
|
||||
|
||||
drop table if exists egen_props cascade;
|
||||
|
||||
drop table if exists einvoice cascade;
|
||||
|
||||
drop table if exists e_main cascade;
|
||||
|
||||
drop table if exists enull_collection cascade;
|
||||
|
||||
drop table if exists enull_collection_detail cascade;
|
||||
|
||||
drop table if exists eopt_one_a cascade;
|
||||
|
||||
drop table if exists eopt_one_b cascade;
|
||||
|
||||
drop table if exists eopt_one_c cascade;
|
||||
|
||||
drop table if exists eperson cascade;
|
||||
|
||||
drop table if exists esimple cascade;
|
||||
|
||||
drop table if exists esome_type cascade;
|
||||
|
||||
drop table if exists etrans_many cascade;
|
||||
|
||||
drop table if exists evanilla_collection cascade;
|
||||
|
||||
drop table if exists evanilla_collection_detail cascade;
|
||||
|
||||
drop table if exists ewho_props cascade;
|
||||
|
||||
drop table if exists e_withinet cascade;
|
||||
|
||||
drop table if exists td_child cascade;
|
||||
|
||||
drop table if exists td_parent cascade;
|
||||
|
||||
drop table if exists feature_desc cascade;
|
||||
|
||||
drop table if exists f_first cascade;
|
||||
|
||||
drop table if exists foo cascade;
|
||||
|
||||
drop table if exists gen_key_identity cascade;
|
||||
|
||||
drop table if exists gen_key_sequence cascade;
|
||||
drop sequence if exists seq;
|
||||
|
||||
drop table if exists gen_key_table cascade;
|
||||
|
||||
drop table if exists c_group cascade;
|
||||
|
||||
drop table if exists imrelated cascade;
|
||||
|
||||
drop table if exists imroot cascade;
|
||||
|
||||
drop table if exists ixresource cascade;
|
||||
|
||||
drop table if exists info_company cascade;
|
||||
|
||||
drop table if exists info_contact cascade;
|
||||
|
||||
drop table if exists info_customer cascade;
|
||||
|
||||
drop table if exists inner_report cascade;
|
||||
|
||||
drop table if exists drel_invoice cascade;
|
||||
drop sequence if exists drel_invoice_seq;
|
||||
|
||||
drop table if exists item cascade;
|
||||
|
||||
drop table if exists level1 cascade;
|
||||
|
||||
drop table if exists level1_level4 cascade;
|
||||
|
||||
drop table if exists level1_level2 cascade;
|
||||
|
||||
drop table if exists level2 cascade;
|
||||
|
||||
drop table if exists level2_level3 cascade;
|
||||
|
||||
drop table if exists level3 cascade;
|
||||
|
||||
drop table if exists level4 cascade;
|
||||
|
||||
drop table if exists la_attr_value cascade;
|
||||
|
||||
drop table if exists la_attr_value_attribute cascade;
|
||||
|
||||
drop table if exists mmedia cascade;
|
||||
|
||||
drop table if exists non_updateprop cascade;
|
||||
|
||||
drop table if exists mprinter cascade;
|
||||
|
||||
drop table if exists mprinter_state cascade;
|
||||
|
||||
drop table if exists mprofile cascade;
|
||||
|
||||
drop table if exists mprotected_construct_bean cascade;
|
||||
|
||||
drop table if exists mrole cascade;
|
||||
|
||||
drop table if exists mrole_muser cascade;
|
||||
|
||||
drop table if exists msome_other cascade;
|
||||
|
||||
drop table if exists muser cascade;
|
||||
|
||||
drop table if exists muser_type cascade;
|
||||
|
||||
drop table if exists map_super_actual cascade;
|
||||
|
||||
drop table if exists c_message cascade;
|
||||
|
||||
drop table if exists mnoc_role cascade;
|
||||
|
||||
drop table if exists mnoc_user cascade;
|
||||
|
||||
drop table if exists mnoc_user_mnoc_role cascade;
|
||||
|
||||
drop table if exists mp_role cascade;
|
||||
|
||||
drop table if exists mp_user cascade;
|
||||
|
||||
drop table if exists my_lob_size cascade;
|
||||
|
||||
drop table if exists my_lob_size_join_many cascade;
|
||||
|
||||
drop table if exists noidbean cascade;
|
||||
|
||||
drop table if exists o_cached_bean cascade;
|
||||
|
||||
drop table if exists o_cached_bean_country cascade;
|
||||
|
||||
drop table if exists o_cached_bean_child cascade;
|
||||
|
||||
drop table if exists ocar cascade;
|
||||
|
||||
drop table if exists oengine cascade;
|
||||
|
||||
drop table if exists ogear_box cascade;
|
||||
|
||||
drop table if exists o_order cascade;
|
||||
|
||||
drop table if exists o_order_detail cascade;
|
||||
|
||||
drop table if exists s_orders cascade;
|
||||
|
||||
drop table if exists s_order_items cascade;
|
||||
|
||||
drop table if exists or_order_ship cascade;
|
||||
|
||||
drop table if exists oto_child cascade;
|
||||
|
||||
drop table if exists oto_master cascade;
|
||||
|
||||
drop table if exists pfile cascade;
|
||||
|
||||
drop table if exists pfile_content cascade;
|
||||
|
||||
drop table if exists paggview cascade;
|
||||
|
||||
drop table if exists pallet_location cascade;
|
||||
|
||||
drop table if exists parcel cascade;
|
||||
|
||||
drop table if exists parcel_location cascade;
|
||||
|
||||
drop table if exists rawinherit_parent cascade;
|
||||
|
||||
drop table if exists rawinherit_parent_rawinherit_dat cascade;
|
||||
|
||||
drop table if exists c_participation cascade;
|
||||
|
||||
drop table if exists mt_permission cascade;
|
||||
|
||||
drop table if exists persistent_file cascade;
|
||||
|
||||
drop table if exists persistent_file_content cascade;
|
||||
|
||||
drop table if exists persons cascade;
|
||||
|
||||
drop table if exists person cascade;
|
||||
|
||||
drop table if exists phones cascade;
|
||||
|
||||
drop table if exists o_product cascade;
|
||||
|
||||
drop table if exists pp cascade;
|
||||
|
||||
drop table if exists pp_to_ww cascade;
|
||||
|
||||
drop table if exists rcustomer cascade;
|
||||
|
||||
drop table if exists r_orders cascade;
|
||||
|
||||
drop table if exists region cascade;
|
||||
|
||||
drop table if exists resourcefile cascade;
|
||||
|
||||
drop table if exists mt_role cascade;
|
||||
|
||||
drop table if exists mt_role_permission cascade;
|
||||
|
||||
drop table if exists em_role cascade;
|
||||
|
||||
drop table if exists f_second cascade;
|
||||
|
||||
drop table if exists section cascade;
|
||||
|
||||
drop table if exists self_parent cascade;
|
||||
|
||||
drop table if exists self_ref_customer cascade;
|
||||
|
||||
drop table if exists self_ref_example cascade;
|
||||
|
||||
drop table if exists some_enum_bean cascade;
|
||||
|
||||
drop table if exists some_file_bean cascade;
|
||||
|
||||
drop table if exists some_new_types_bean cascade;
|
||||
|
||||
drop table if exists some_period_bean cascade;
|
||||
|
||||
drop table if exists stockforecast cascade;
|
||||
|
||||
drop table if exists sub_section cascade;
|
||||
|
||||
drop table if exists sub_type cascade;
|
||||
|
||||
drop table if exists tbytes_only cascade;
|
||||
|
||||
drop table if exists tcar cascade;
|
||||
|
||||
drop table if exists tint_root cascade;
|
||||
|
||||
drop table if exists tjoda_entity cascade;
|
||||
|
||||
drop table if exists t_mapsuper1 cascade;
|
||||
|
||||
drop table if exists t_oneb cascade;
|
||||
|
||||
drop table if exists t_detail_with_other_namexxxyy cascade;
|
||||
drop sequence if exists t_atable_detail_seq;
|
||||
|
||||
drop table if exists ts_detail_two cascade;
|
||||
|
||||
drop table if exists t_atable_thatisrelatively cascade;
|
||||
drop sequence if exists t_atable_master_seq;
|
||||
|
||||
drop table if exists ts_master_two cascade;
|
||||
|
||||
drop table if exists tuuid_entity cascade;
|
||||
|
||||
drop table if exists twheel cascade;
|
||||
|
||||
drop table if exists twith_pre_insert cascade;
|
||||
|
||||
drop table if exists mt_tenant cascade;
|
||||
|
||||
drop table if exists sa_tire cascade;
|
||||
drop sequence if exists sa_tire_seq;
|
||||
|
||||
drop table if exists tire cascade;
|
||||
drop sequence if exists tire_seq;
|
||||
|
||||
drop table if exists trip cascade;
|
||||
|
||||
drop table if exists truck_ref cascade;
|
||||
|
||||
drop table if exists type cascade;
|
||||
|
||||
drop table if exists ut_detail cascade;
|
||||
|
||||
drop table if exists ut_master cascade;
|
||||
|
||||
drop table if exists uuone cascade;
|
||||
|
||||
drop table if exists uutwo cascade;
|
||||
|
||||
drop table if exists em_user cascade;
|
||||
|
||||
drop table if exists tx_user cascade;
|
||||
|
||||
drop table if exists c_user cascade;
|
||||
|
||||
drop table if exists oto_user cascade;
|
||||
|
||||
drop table if exists em_user_role cascade;
|
||||
|
||||
drop table if exists vehicle cascade;
|
||||
|
||||
drop table if exists vehicle_driver cascade;
|
||||
|
||||
drop table if exists warehouses cascade;
|
||||
|
||||
drop table if exists warehousesshippingzones cascade;
|
||||
|
||||
drop table if exists sa_wheel cascade;
|
||||
drop sequence if exists sa_wheel_seq;
|
||||
|
||||
drop table if exists sp_car_wheel cascade;
|
||||
drop sequence if exists sp_car_wheel_seq;
|
||||
|
||||
drop table if exists wheel cascade;
|
||||
drop sequence if exists wheel_seq;
|
||||
|
||||
drop table if exists with_zero cascade;
|
||||
|
||||
drop table if exists parent cascade;
|
||||
|
||||
drop table if exists wview cascade;
|
||||
|
||||
drop table if exists zones cascade;
|
||||
|
||||
Reference in New Issue
Block a user