zoukankan      html  css  js  c++  java
  • Activiti6.x删除外键

    sql脚本:

    -- ----------------------------
    -- 删除activiti的外键
    -- ----------------------------
    
    ALTER TABLE `hl-act`.`act_ru_deadletter_job` DROP FOREIGN KEY `ACT_FK_DEADLETTER_JOB_EXCEPTION`;
    ALTER TABLE `hl-act`.`act_ru_deadletter_job` DROP FOREIGN KEY `ACT_FK_DEADLETTER_JOB_EXECUTION`;
    ALTER TABLE `hl-act`.`act_ru_deadletter_job` DROP FOREIGN KEY `ACT_FK_DEADLETTER_JOB_PROC_DEF`;
    ALTER TABLE `hl-act`.`act_ru_deadletter_job` DROP FOREIGN KEY `ACT_FK_DEADLETTER_JOB_PROCESS_INSTANCE`;
    
    ALTER TABLE `hl-act`.`act_ru_event_subscr` DROP FOREIGN KEY `ACT_FK_EVENT_EXEC`;
    
    ALTER TABLE `hl-act`.`act_ru_execution` DROP FOREIGN KEY `ACT_FK_EXE_PARENT`;
    ALTER TABLE `hl-act`.`act_ru_execution` DROP FOREIGN KEY `ACT_FK_EXE_PROCDEF`;
    ALTER TABLE `hl-act`.`act_ru_execution` DROP FOREIGN KEY `ACT_FK_EXE_PROCINST`;
    ALTER TABLE `hl-act`.`act_ru_execution` DROP FOREIGN KEY `ACT_FK_EXE_SUPER`;
    
    ALTER TABLE `hl-act`.`act_ru_identitylink` DROP FOREIGN KEY `ACT_FK_ATHRZ_PROCEDEF`;
    ALTER TABLE `hl-act`.`act_ru_identitylink` DROP FOREIGN KEY `ACT_FK_IDL_PROCINST`;
    ALTER TABLE `hl-act`.`act_ru_identitylink` DROP FOREIGN KEY `ACT_FK_TSKASS_TASK`;
    
    ALTER TABLE `hl-act`.`act_ru_job` DROP FOREIGN KEY `ACT_FK_JOB_EXCEPTION`;
    ALTER TABLE `hl-act`.`act_ru_job` DROP FOREIGN KEY `ACT_FK_JOB_EXECUTION`;
    ALTER TABLE `hl-act`.`act_ru_job` DROP FOREIGN KEY `ACT_FK_JOB_PROC_DEF`;
    ALTER TABLE `hl-act`.`act_ru_job` DROP FOREIGN KEY `ACT_FK_JOB_PROCESS_INSTANCE`;
    
    ALTER TABLE `hl-act`.`act_ru_suspended_job` DROP FOREIGN KEY `ACT_FK_SUSPENDED_JOB_EXCEPTION`;
    ALTER TABLE `hl-act`.`act_ru_suspended_job` DROP FOREIGN KEY `ACT_FK_SUSPENDED_JOB_EXECUTION`;
    ALTER TABLE `hl-act`.`act_ru_suspended_job` DROP FOREIGN KEY `ACT_FK_SUSPENDED_JOB_PROC_DEF`;
    ALTER TABLE `hl-act`.`act_ru_suspended_job` DROP FOREIGN KEY `ACT_FK_SUSPENDED_JOB_PROCESS_INSTANCE`;
    
    ALTER TABLE `hl-act`.`act_ru_task` DROP FOREIGN KEY `ACT_FK_TASK_EXE`;
    ALTER TABLE `hl-act`.`act_ru_task` DROP FOREIGN KEY `ACT_FK_TASK_PROCDEF`;
    ALTER TABLE `hl-act`.`act_ru_task` DROP FOREIGN KEY `ACT_FK_TASK_PROCINST`;
    
    ALTER TABLE `hl-act`.`act_ru_timer_job` DROP FOREIGN KEY `ACT_FK_TIMER_JOB_EXCEPTION`;
    ALTER TABLE `hl-act`.`act_ru_timer_job` DROP FOREIGN KEY `ACT_FK_TIMER_JOB_EXECUTION`;
    ALTER TABLE `hl-act`.`act_ru_timer_job` DROP FOREIGN KEY `ACT_FK_TIMER_JOB_PROC_DEF`;
    ALTER TABLE `hl-act`.`act_ru_timer_job` DROP FOREIGN KEY `ACT_FK_TIMER_JOB_PROCESS_INSTANCE`;
    
    ALTER TABLE `hl-act`.`act_ru_variable` DROP FOREIGN KEY `ACT_FK_VAR_BYTEARRAY`;
    ALTER TABLE `hl-act`.`act_ru_variable` DROP FOREIGN KEY `ACT_FK_VAR_EXE`;
    ALTER TABLE `hl-act`.`act_ru_variable` DROP FOREIGN KEY `ACT_FK_VAR_PROCINST`;
    
    
  • 相关阅读:
    【leetcode】Reverse Words in a String
    使用windows的远程桌面连接连接Ubuntu
    Ubuntu下快速安装php环境
    面试题之【打印1到最大的N位数】
    gnuplot安装问题(set terminal "unknown")
    java获取文件的md5值
    jQuery全选/反选checkbox
    PowerDesigner反向工程,根据Oracle数据库结构生成ER图(2014-3-25记)
    SVN服务端启动解决方案(2013-12-10 记)
    Oracle数据库DOC命令导入导出(2014-3-10记)
  • 原文地址:https://www.cnblogs.com/zhaoxxnbsp/p/15375582.html
Copyright © 2011-2022 走看看