-- 删除除工作流表外所有表的外键
alter table `module` DROP FOREIGN KEY fk_module_native;
alter table native DROP FOREIGN KEY native_ibfk_1;
alter table operation DROP FOREIGN KEY fk_operation_module;
alter table operation DROP FOREIGN KEY fk_operation_native;
alter table organization DROP FOREIGN KEY organization_ibfk_1;
alter table organization DROP FOREIGN KEY organization_ibfk_2;
alter table role DROP FOREIGN KEY role_ibfk_1;
alter table role DROP FOREIGN KEY role_ibfk_2;
alter table security_company DROP FOREIGN KEY security_company_ibfk_1;
alter table security_company DROP FOREIGN KEY security_company_ibfk_2;
alter table security_company_person DROP FOREIGN KEY security_company_person_ibfk_1;
alter table security_company_person DROP FOREIGN KEY security_company_person_ibfk_2;
alter table security_company_person DROP FOREIGN KEY security_company_person_ibfk_3;
alter table security_company_person DROP FOREIGN KEY security_company_person_ibfk_4;
alter table security_company_person DROP FOREIGN KEY security_company_person_ibfk_5;
alter table security_company_schedule DROP FOREIGN KEY security_company_schedule_ibfk_1;
alter table security_company_scope DROP FOREIGN KEY security_company_scope_ibfk_1;
alter table security_company_scope DROP FOREIGN KEY security_company_scope_ibfk_2;
alter table security_person DROP FOREIGN KEY security_person_ibfk_1;
alter table security_person DROP FOREIGN KEY security_person_ibfk_2;
alter table security_person DROP FOREIGN KEY security_person_ibfk_4;
alter table security_person DROP FOREIGN KEY security_person_ibfk_5;
alter table security_person DROP FOREIGN KEY security_person_ibfk_6;
alter table security_person DROP FOREIGN KEY security_person_ibfk_7;
alter table task DROP FOREIGN KEY task_ibfk_1;
alter table task DROP FOREIGN KEY task_ibfk_3;
alter table task DROP FOREIGN KEY task_ibfk_4;
alter table task DROP FOREIGN KEY task_ibfk_5;
alter table task DROP FOREIGN KEY task_ibfk_6;
alter table task_feedback DROP FOREIGN KEY task_feedback_ibfk_1;
alter table task_feedback DROP FOREIGN KEY task_feedback_ibfk_2;
alter table task_feedback DROP FOREIGN KEY task_feedback_ibfk_3;
alter table task_person DROP FOREIGN KEY task_person_ibfk_1;
alter table task_person DROP FOREIGN KEY task_person_ibfk_2;
alter table task_person DROP FOREIGN KEY task_person_ibfk_3;
alter table task_person_schedule DROP FOREIGN KEY task_person_schedule_ibfk_1;
alter table task_person_schedule DROP FOREIGN KEY task_person_schedule_ibfk_2;
alter table task_person_schedule_detail DROP FOREIGN KEY task_person_schedule_detail_ibfk_1;
alter table task_person_schedule_detail DROP FOREIGN KEY task_person_schedule_detail_ibfk_2;
alter table task_schedule DROP FOREIGN KEY task_schedule_ibfk_1;
alter table task_schedule DROP FOREIGN KEY task_schedule_ibfk_2;
alter table task_schedule DROP FOREIGN KEY task_schedule_ibfk_3;
alter table task_track DROP FOREIGN KEY task_track_ibfk_1;

