Pre Merge pull request !506 from 秋辞未寒/dev_sql

This commit is contained in:
秋辞未寒 2024-04-02 09:02:30 +00:00 committed by Gitee
commit 7af16f7da5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 11 additions and 1 deletions

View File

@ -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,

View File

@ -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

View File

@ -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,