fix(数据库脚本): 修复数据库脚本文件语法错误问题以及将 wf_deploy_form.node_key 设不为null

This commit is contained in:
konbai
2022-08-09 13:38:48 +08:00
parent 5fa93221b8
commit 94dc95a558
4 changed files with 5 additions and 5 deletions

View File

@@ -811,7 +811,7 @@ drop table if exists `wf_deploy_form`;
create table `wf_deploy_form` (
deploy_id varchar(64) not null comment '流程实例主键',
form_key varchar(64) not null comment '表单Key',
node_key varchar(64) default '' comment '节点Key',
node_key varchar(64) not null comment '节点Key',
node_name varchar(255) default '' comment '节点名称',
content longtext default null comment '表单内容',
primary key (deploy_id, form_key, node_key)

View File

@@ -1076,9 +1076,9 @@ comment on column wf_form.del_flag is '删除标志0代表存在 2代表删
create table wf_deploy_form (
deploy_id varchar(64) not null,
form_key varchar(64) not null,
node_key varchar(64) default '',
node_key varchar(64) not null,
node_name varchar(255) default '',
content nclob default null,
content nclob default null
);
alter table wf_deploy_form add constraint pk_wf_deploy_form primary key (deploy_id, form_key, node_key);

View File

@@ -1089,7 +1089,7 @@ create table wf_deploy_form
(
deploy_id varchar(64) not null,
form_key varchar(64) not null,
node_key varchar(64) default ''::varchar,
node_key varchar(64) not null,
node_name varchar(255) default ''::varchar,
content text,
constraint wf_deploy_form_pk primary key (deploy_id, form_key, node_key)

View File

@@ -2654,7 +2654,7 @@ CREATE TABLE [wf_deploy_form]
(
[deploy_id] nvarchar(64) NOT NULL,
[form_key] nvarchar(64) NOT NULL,
[node_key] nvarchar(64) DEFAULT '' NULL,
[node_key] nvarchar(64) NOT NULL,
[node_name] nvarchar(64) DEFAULT '' NULL,
[content] nvarchar(max) NULL,
CONSTRAINT [PK__wf_deploy_form] PRIMARY KEY CLUSTERED ([deploy_id], [form_key], [node_key])