fix(数据库脚本): 修复数据库脚本文件语法错误问题以及将 wf_deploy_form.node_key 设不为null
This commit is contained in:
@@ -811,7 +811,7 @@ drop table if exists `wf_deploy_form`;
|
|||||||
create table `wf_deploy_form` (
|
create table `wf_deploy_form` (
|
||||||
deploy_id varchar(64) not null comment '流程实例主键',
|
deploy_id varchar(64) not null comment '流程实例主键',
|
||||||
form_key varchar(64) not null comment '表单Key',
|
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 '节点名称',
|
node_name varchar(255) default '' comment '节点名称',
|
||||||
content longtext default null comment '表单内容',
|
content longtext default null comment '表单内容',
|
||||||
primary key (deploy_id, form_key, node_key)
|
primary key (deploy_id, form_key, node_key)
|
||||||
|
|||||||
@@ -1076,9 +1076,9 @@ comment on column wf_form.del_flag is '删除标志(0代表存在 2代表删
|
|||||||
create table wf_deploy_form (
|
create table wf_deploy_form (
|
||||||
deploy_id varchar(64) not null,
|
deploy_id varchar(64) not null,
|
||||||
form_key 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 '',
|
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);
|
alter table wf_deploy_form add constraint pk_wf_deploy_form primary key (deploy_id, form_key, node_key);
|
||||||
|
|||||||
@@ -1089,7 +1089,7 @@ create table wf_deploy_form
|
|||||||
(
|
(
|
||||||
deploy_id varchar(64) not null,
|
deploy_id varchar(64) not null,
|
||||||
form_key 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,
|
node_name varchar(255) default ''::varchar,
|
||||||
content text,
|
content text,
|
||||||
constraint wf_deploy_form_pk primary key (deploy_id, form_key, node_key)
|
constraint wf_deploy_form_pk primary key (deploy_id, form_key, node_key)
|
||||||
|
|||||||
@@ -2654,7 +2654,7 @@ CREATE TABLE [wf_deploy_form]
|
|||||||
(
|
(
|
||||||
[deploy_id] nvarchar(64) NOT NULL,
|
[deploy_id] nvarchar(64) NOT NULL,
|
||||||
[form_key] 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,
|
[node_name] nvarchar(64) DEFAULT '' NULL,
|
||||||
[content] nvarchar(max) NULL,
|
[content] nvarchar(max) NULL,
|
||||||
CONSTRAINT [PK__wf_deploy_form] PRIMARY KEY CLUSTERED ([deploy_id], [form_key], [node_key])
|
CONSTRAINT [PK__wf_deploy_form] PRIMARY KEY CLUSTERED ([deploy_id], [form_key], [node_key])
|
||||||
|
|||||||
Reference in New Issue
Block a user