From 5199a53f7d12c14c2ef6a323b106204e3174370c Mon Sep 17 00:00:00 2001 From: Liang <545073804@qq.com> Date: Mon, 1 Apr 2024 17:48:53 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96sql=20=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E8=A1=A8=E4=B9=8B=E5=89=8D=E5=A6=82=E6=9E=9C=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E6=97=A7=E8=A1=A8=EF=BC=8C=E5=88=99=E5=85=88=E5=B0=86?= =?UTF-8?q?=E6=97=A7=E8=A1=A8=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/sql/flowable.sql | 4 +++- script/sql/postgres/flowable.sql | 4 ++++ script/sql/sqlserver/flowable.sql | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/script/sql/flowable.sql b/script/sql/flowable.sql index 1d414e8ee..760bca779 100644 --- a/script/sql/flowable.sql +++ b/script/sql/flowable.sql @@ -98,6 +98,7 @@ create table wf_definition_config ) comment '流程定义配置'; +DROP TABLE if EXISTS wf_form_manage; create table wf_form_manage ( id bigint not null comment '主键' @@ -117,7 +118,8 @@ create table wf_form_manage insert into wf_form_manage(id, form_name, form_type, router, remark, tenant_id, create_dept, create_by, create_time, update_by, update_time) VALUES (1, '请假申请', 'static', '/demo/leaveEdit/index', NULL, '000000', 103, 1, sysdate(), 1, sysdate()); -create table wf_node_config +DROP TABLE if EXISTS wf_form_manage; +create table wf_form_manage ( id bigint not null comment '主键' primary key, diff --git a/script/sql/postgres/flowable.sql b/script/sql/postgres/flowable.sql index 60b6cca39..0fe57a450 100644 --- a/script/sql/postgres/flowable.sql +++ b/script/sql/postgres/flowable.sql @@ -116,6 +116,7 @@ create unique index uni_category_code INSERT INTO wf_category values (1, 'OA', 'OA', 0, 0, '000000', 103, 1, now(), 1, now()); +DROP TABLE if EXISTS wf_task_back_node; create table wf_task_back_node ( id bigint not null @@ -166,6 +167,7 @@ comment on column wf_task_back_node.update_time is '修改时间'; alter table wf_task_back_node owner to postgres; +DROP TABLE if EXISTS wf_definition_config; create table wf_definition_config ( id bigint not null @@ -209,6 +211,7 @@ alter table wf_definition_config create unique index uni_definition_id on wf_definition_config (definition_id); +DROP TABLE if EXISTS wf_form_manage; create table wf_form_manage ( id bigint not null @@ -252,6 +255,7 @@ comment on column wf_form_manage.update_time is '修改时间'; insert into wf_form_manage(id, form_name, form_type, router, remark, tenant_id, create_dept, create_by, create_time, update_by, update_time) VALUES (1, '请假申请', 'static', '/demo/leaveEdit/index', NULL, '000000', 103, 1, now(), 1, now()); +DROP TABLE if EXISTS wf_node_config; create table wf_node_config ( id bigint not null diff --git a/script/sql/sqlserver/flowable.sql b/script/sql/sqlserver/flowable.sql index 1c0576b6d..c3af94d32 100644 --- a/script/sql/sqlserver/flowable.sql +++ b/script/sql/sqlserver/flowable.sql @@ -148,6 +148,7 @@ go INSERT INTO wf_category values (1, 'OA', 'OA', 0, 0, '000000', 103, 1, getdate(), 1, getdate()); +DROP TABLE if EXISTS wf_task_back_node; create table wf_task_back_node ( id bigint not null primary key, @@ -214,6 +215,7 @@ exec sp_addextendedproperty 'MS_Description', N'更新时间', 'SCHEMA', 'dbo', 'update_time' go +DROP TABLE if EXISTS wf_definition_config; create table wf_definition_config ( id bigint not null primary key, @@ -271,6 +273,7 @@ exec sp_addextendedproperty 'MS_Description', N'更新时间', 'SCHEMA', 'dbo', 'update_time' go +DROP TABLE if EXISTS wf_form_manage; create table wf_form_manage ( id bigint not null primary key, @@ -333,6 +336,7 @@ go insert into wf_form_manage(id, form_name, form_type, router, remark, tenant_id, create_dept, create_by, create_time, update_by, update_time) VALUES (1, '请假申请', 'static', '/demo/leaveEdit/index', NULL, '000000', 103, 1, getdate(), 1, getdate()); +DROP TABLE if EXISTS wf_node_config; create table wf_node_config ( id bigint not null primary key,