diff --git a/script/sql/flowable.sql b/script/sql/flowable.sql index 4c03f8dcc..bba8ac755 100644 --- a/script/sql/flowable.sql +++ b/script/sql/flowable.sql @@ -94,6 +94,7 @@ create table wf_definition_config ) comment '流程定义配置'; +DROP TABLE if EXISTS wf_form_manage; create table wf_form_manage ( id bigint not null comment '主键' @@ -113,7 +114,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 f20426dcb..810afc7f1 100644 --- a/script/sql/postgres/flowable.sql +++ b/script/sql/postgres/flowable.sql @@ -114,6 +114,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 @@ -164,6 +165,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 @@ -207,6 +209,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 @@ -250,6 +253,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 19810b065..1fb7a07cf 100644 --- a/script/sql/sqlserver/flowable.sql +++ b/script/sql/sqlserver/flowable.sql @@ -146,6 +146,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, @@ -212,6 +213,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, @@ -269,6 +271,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, @@ -331,6 +334,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,