alter table diva_game_session drop foreign key FKikuocmj1vqgy20yfc7wt5on1n;
alter table diva_play_log drop foreign key FKcoooki2fox2p8sdnodn3d6jv;
alter table diva_player_contest drop foreign key FK4dy8de6j9oe1y899qw7haxh6s;
alter table diva_player_customize drop foreign key FKharah4nuyjx5409e5y636x6rv;
alter table diva_player_inventory drop foreign key FK4328de6j9oebd899qw7hbxh6s;
alter table diva_player_module drop foreign key FKfdiaja18ca8sx8l7voos2ua8u;
alter table diva_player_pv_customize drop foreign key FKanhj148kuho0oik2sfotw2w2k;
alter table diva_player_pv_record drop foreign key FK41n9rhmjf3lve2rparf6liw08;
alter table diva_player_screen_shot drop foreign key FKmmhtmvow1krd7798ejhx3ad69;
alter table chuni_user_activity drop foreign key FK3w1746ec2ifll0lgg80qcaky1;
alter table chuni_user_character drop foreign key FK13uqox2pa1vt70a9jwna2ntvx;
alter table chuni_user_charge drop foreign key FKpeqjk560hcqxy58qxsk1su8er;
alter table chuni_user_course drop foreign key FK8ukqgr15f8depffoeb8h6l4xi;
alter table chuni_user_data_ex drop foreign key FK9y2n5rfxbo6lb9rafkyixqjqy;
alter table chuni_user_duel drop foreign key FKdeec64e64w4xvsf733v11vdyw;
alter table chuni_user_game_option drop foreign key FKn4uqhgplf72apyp72tpiv2tep;
alter table chuni_user_game_option_ex drop foreign key FKhfeajq1n631d03hmgwucimr6r;
alter table chuni_user_general_data drop foreign key FK2dkb8agh5ye1f15g5hbcv63uj;
alter table chuni_user_item drop foreign key FKgxch0hbux8l3escx0r0dywhct;
alter table chuni_user_map drop foreign key FKecy15iwqltytdianmr2xnfhug;
alter table chuni_user_music_detail drop foreign key FKhf8v4ymug1rc8xr37ehsiu0w6;
alter table chuni_user_playlog drop foreign key FKhofm06a23hodfukcggmm8ch7i;
alter table chusan_user_activity drop foreign key FKf5rvHXNuckmxrdg4;
alter table chusan_user_character drop foreign key FKiKbot6692sbjFf26;
alter table chusan_user_charge drop foreign key FKdNfjaTU2zHubyDPH;
alter table chusan_user_course drop foreign key FKaWDgdwc4AzsXBPkR;
alter table chusan_user_duel drop foreign key FKjCoYYUP9CQkMonvQ;
alter table chusan_user_gacha drop foreign key FKKgEwDqNazYzQYXQ6aM;
alter table chusan_user_game_option drop foreign key FKycpxSx4dCL7Lqg79;
alter table chusan_user_general_data drop foreign key FKm4k7mAMRbn6TRj3N;
alter table chusan_user_item drop foreign key FKi2DMppnreWLXFZpR;
alter table chusan_user_map_area drop foreign key FKvd9cgwBT5UhMT68G;
alter table chusan_user_music_detail drop foreign key FKjytSU5b3AxKZ55P2;
alter table chusan_user_playlog drop foreign key FKt6VM3gn63tz4Tghc;
alter table chusan_user_print_state drop foreign key FKYWeiCGeXh6fYTym8KY;
alter table maimai2_user_activity drop foreign key FKzosmkjggsr4kbwp8;
alter table maimai2_user_card drop foreign key FKEraxz5HoWgfKLz8w63;
alter table maimai2_user_character drop foreign key FK7pwqw2iax9tkqsio;
alter table maimai2_user_charge drop foreign key FKzxm95bz5qiqmzof9;
alter table maimai2_user_course drop foreign key FKe7xdxfwuxr4ik5vz;
alter table maimai2_user_extend drop foreign key FKkohdzk55oj46xyeq;
alter table maimai2_user_favorite drop foreign key FKhedsx72h28k53obe;
alter table maimai2_user_friend_season_ranking drop foreign key FKcTHZpS3jrefY5NMf;
alter table maimai2_user_general_data drop foreign key FK6BJbvEH8Z22SLbwWKxsb7uarS;
alter table maimai2_user_item drop foreign key FKopxaz95c966q7pys;
alter table maimai2_user_login_bonus drop foreign key FKmwccayih2sv2smw7;
alter table maimai2_user_map drop foreign key FKjva7jtg96nwt9539;
alter table maimai2_user_music_detail drop foreign key FK8hsx2tb67q8nqxgk;
alter table maimai2_user_npc_encount drop foreign key FKi6sfpfh45h98qjnh;
alter table maimai2_user_option drop foreign key FKp3r3s8f6mwfvoyzf;
alter table maimai2_user_playlog drop foreign key FKcszan6hmc7eyjp37;
alter table maimai2_user_print_detail drop foreign key FKEnhDgski3cuxz8Z5jd;
alter table maimai2_user_udemae drop foreign key FK9g2niydg6r5796gg;
alter table maimai_user_activity drop foreign key FK1slyt111h8m3pkvp67nh6cq4f;
alter table maimai_user_boss drop foreign key FKyyl9l2hpsf9scdi0vu48i4uo;
alter table maimai_user_character drop foreign key FKnpktuaib0wg0rfopcqmp6xsxq;
alter table maimai_user_general_data drop foreign key FKn8uxwqcng96dqsv05tpvq6en6;
alter table maimai_user_item drop foreign key FK78o1t4n3bx96888dgvgyiqi97;
alter table maimai_user_music_detail drop foreign key FKi0serv52ls8x4dnlngxnenoe2;
alter table maimai_user_option drop foreign key FKgf0cpopptvya82s8mj406fpot;
alter table maimai_user_playlog drop foreign key FK8wwroomy1dbdube88ym4rirp;
alter table maimai_user_present_event drop foreign key FK662nxt52xnmf1ai8415o7phnc;
alter table maimai_user_survival drop foreign key FK73wots53hgxo1cww3tfr8dh61;
alter table maimai_user_web_option drop foreign key FKn1keedu2fw9i6n6ek38nwkei5;
alter table ongeki_user_activity drop foreign key FKj1v48sg7iyelf1v95hdnnvvej;
alter table ongeki_user_boss drop foreign key FKRvEJ2eAwDd3br6bv;
alter table ongeki_user_card drop foreign key FK24hse5iqkcc9pr5uosdmj4tf1;
alter table ongeki_user_chapter drop foreign key FK15v21ek6k2v978bs9gli88qxv;
alter table ongeki_user_character drop foreign key FKbe1tydupjuaerig417kawumvn;
alter table ongeki_user_deck drop foreign key FKd4g23ogtcs3u7ft88v28px21u;
alter table ongeki_user_event_music drop foreign key FKYyerzsu49pHUHJNvN67w4SGQbB2;
alter table ongeki_user_event_point drop foreign key FK867x07l202cic4k1tj3fthhqb;
alter table ongeki_user_general_data drop foreign key FKj1v48ag7iyelf1va5hbcv63uj;
alter table ongeki_user_item drop foreign key FKt4t8o65rovcopdpvf1o21hwj5;
alter table ongeki_user_kop drop foreign key FKNeHq3QCaKu7ipBCDEtZQ3QFgvBv;
alter table ongeki_user_login_bonus drop foreign key FKnxfh42w1oeia9ccmrx4sx701j;
alter table ongeki_user_memory_chapter drop foreign key FKkbNRqobZgn7cDysE;
alter table ongeki_user_mission_point drop foreign key FK867xgd2c5g6ic4k1tbd32hhqb;
alter table ongeki_user_music_detail drop foreign key FKe3ixhshy6d323i6eq6oc4n7c3;
alter table ongeki_user_music_item drop foreign key FK5eo7lmbf3xkwl3yln76k0v6k3;
alter table ongeki_user_option drop foreign key FKbnoj66ua8ce2i90i13br6dg9h;
alter table ongeki_user_playlog drop foreign key FKltrwbtx3jfv3gdlk11q4fl311;
alter table ongeki_user_rival drop foreign key FK__ongeki_user_data;
alter table ongeki_user_scenario drop foreign key FKFyD2tqndcCe9qQMA;
alter table ongeki_user_story drop foreign key FKrjs8eu3c3ottsk9ogqf0s6p44;
alter table ongeki_user_tech_count drop foreign key FKkg4dYVKWYr8tGkDk;
alter table ongeki_user_tech_event drop foreign key FKeA3LffHizJP95rE8WLL4ANZZLfM;
alter table ongeki_user_trade_item drop foreign key FKjK4YZyUoHo397H35roV4y5xCGPL;
alter table ongeki_user_training_room drop foreign key FK6ixn4aqiny02kxt4kq0tu8fk;

alter table chuni_user_activity add constraint fku_chuni_user_activity
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_character add constraint fku_chuni_user_character
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_charge add constraint fku_chuni_user_charge
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_course add constraint fku_chuni_user_course
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_data_ex add constraint fku_chuni_user_data_ex
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_duel add constraint fku_chuni_user_duel
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_game_option add constraint fku_chuni_user_game_option
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_game_option_ex add constraint fku_chuni_user_game_option_ex
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_general_data add constraint fku_chuni_user_general_data
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_item add constraint fku_chuni_user_item
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_map add constraint fku_chuni_user_map
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_music_detail add constraint fku_chuni_user_music_detail
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chuni_user_playlog add constraint fku_chuni_user_playlog
    foreign key (user_id) references chuni_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_activity add constraint fku_chusan_user_activity
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_character add constraint fku_chusan_user_character
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_charge add constraint fku_chusan_user_charge
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_course add constraint fku_chusan_user_course
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_duel add constraint fku_chusan_user_duel
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_gacha add constraint fku_chusan_user_gacha
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_game_option add constraint fku_chusan_user_game_option
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_general_data add constraint fku_chusan_user_general_data
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_item add constraint fku_chusan_user_item
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_map_area add constraint fku_chusan_user_map_area
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_music_detail add constraint fku_chusan_user_music_detail
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_playlog add constraint fku_chusan_user_playlog
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table chusan_user_print_state add constraint fku_chusan_user_print_state
    foreign key (user_id) references chusan_user_data (id)
        on delete cascade on update cascade;
alter table maimai2_user_activity add constraint fku_maimai2_user_activity
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_card add constraint fku_maimai2_user_card
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_character add constraint fku_maimai2_user_character
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_charge add constraint fku_maimai2_user_charge
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_course add constraint fku_maimai2_user_course
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_extend add constraint fku_maimai2_user_extend
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_favorite add constraint fku_maimai2_user_favorite
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_friend_season_ranking add constraint fku_maimai2_user_friend_season_ranking
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_general_data add constraint fku_maimai2_user_general_data
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_item add constraint fku_maimai2_user_item
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_login_bonus add constraint fku_maimai2_user_login_bonus
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_map add constraint fku_maimai2_user_map
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_music_detail add constraint fku_maimai2_user_music_detail
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_npc_encount add constraint fku_maimai2_user_npc_encount
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_option add constraint fku_maimai2_user_option
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_playlog add constraint fku_maimai2_user_playlog
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai2_user_print_detail add constraint fku_maimai2_user_print_detail
    foreign key (user_card_id) references maimai2_user_card (id)
        on delete cascade on update cascade;
alter table maimai2_user_udemae add constraint fku_maimai2_user_udemae
    foreign key (user_id) references maimai2_user_detail (id)
        on delete cascade on update cascade;
alter table maimai_user_activity add constraint fku_maimai_user_activity
    foreign key (user_id) references maimai_user_data (id)
        on delete cascade on update cascade;
alter table maimai_user_boss add constraint fku_maimai_user_boss
    foreign key (user_id) references maimai_user_data (id)
        on delete cascade on update cascade;
alter table maimai_user_character add constraint fku_maimai_user_character
    foreign key (user_id) references maimai_user_data (id)
        on delete cascade on update cascade;
alter table maimai_user_general_data add constraint fku_maimai_user_general_data
    foreign key (user_id) references maimai_user_data (id)
        on delete cascade on update cascade;
alter table maimai_user_item add constraint fku_maimai_user_item
    foreign key (user_id) references maimai_user_data (id)
        on delete cascade on update cascade;
alter table maimai_user_music_detail add constraint fku_maimai_user_music_detail
    foreign key (user_id) references maimai_user_data (id)
        on delete cascade on update cascade;
alter table maimai_user_option add constraint fku_maimai_user_option
    foreign key (user_id) references maimai_user_data (id)
        on delete cascade on update cascade;
alter table maimai_user_playlog add constraint fku_maimai_user_playlog
    foreign key (user_id) references maimai_user_data (id)
        on delete cascade on update cascade;
alter table maimai_user_present_event add constraint fku_maimai_user_present_event
    foreign key (user_id) references maimai_user_data (id)
        on delete cascade on update cascade;
alter table maimai_user_survival add constraint fku_maimai_user_survival
    foreign key (user_id) references maimai_user_data (id)
        on delete cascade on update cascade;
alter table maimai_user_web_option add constraint fku_maimai_user_web_option
    foreign key (user_id) references maimai_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_activity add constraint fku_ongeki_user_activity
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_boss add constraint fku_ongeki_user_boss
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_card add constraint fku_ongeki_user_card
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_chapter add constraint fku_ongeki_user_chapter
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_character add constraint fku_ongeki_user_character
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_deck add constraint fku_ongeki_user_deck
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_event_music add constraint fku_ongeki_user_event_music
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_event_point add constraint fku_ongeki_user_event_point
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_general_data add constraint fku_ongeki_user_general_data
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_item add constraint fku_ongeki_user_item
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_kop add constraint fku_ongeki_user_kop
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_login_bonus add constraint fku_ongeki_user_login_bonus
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_memory_chapter add constraint fku_ongeki_user_memory_chapter
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_mission_point add constraint fku_ongeki_user_mission_point
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_music_detail add constraint fku_ongeki_user_music_detail
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_music_item add constraint fku_ongeki_user_music_item
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_option add constraint fku_ongeki_user_option
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_playlog add constraint fku_ongeki_user_playlog
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_rival add constraint fku_ongeki_user_rival
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_scenario add constraint fku_ongeki_user_scenario
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_story add constraint fku_ongeki_user_story
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_tech_count add constraint fku_ongeki_user_tech_count
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_tech_event add constraint fku_ongeki_user_tech_event
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_trade_item add constraint fku_ongeki_user_trade_item
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
alter table ongeki_user_training_room add constraint fku_ongeki_user_training_room
    foreign key (user_id) references ongeki_user_data (id)
        on delete cascade on update cascade;
