From 4aecabec15b78a4d18dddb3a68ed5b0f9c169c96 Mon Sep 17 00:00:00 2001 From: Julin Date: Wed, 16 Nov 2022 14:48:29 +0800 Subject: [PATCH] add sql script --- script/schema/01_update_pep_stats.sql | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 script/schema/01_update_pep_stats.sql diff --git a/script/schema/01_update_pep_stats.sql b/script/schema/01_update_pep_stats.sql new file mode 100644 index 0000000..b9b675a --- /dev/null +++ b/script/schema/01_update_pep_stats.sql @@ -0,0 +1,20 @@ +/****** +项企数据库维护升级脚本 +2022-11-16 14:40:00 +表清单: +stats_process_nodes (流程节点数统计表) +******/ + +-- ###<创建流程节点数统计表><彭玲><202211161440> +create table if not exists pepca.public.stats_process_nodes ( + process_version_id integer not null constraint stats_process_nodes_pk primary key, + process_id integer not null, + process_name varchar(255) not null, + process_nodes_total integer not null +); + +comment on table pepca.public.stats_process_nodes is '流程节点数统计表'; +comment on column pepca.public.stats_process_nodes.process_version_id is '流程版本id'; +comment on column pepca.public.stats_process_nodes.process_id is '流程id'; +comment on column pepca.public.stats_process_nodes.process_name is '流程名称'; +comment on column pepca.public.stats_process_nodes.process_nodes_total is '流程节点数';