Compare commits

...

1 Commits

Author SHA1 Message Date
Han Qiang Qiang 69ba13464b 1更新dll [027c078],添加Recipe快照压缩保存+历史数据选择对比
2新增数据表recipe_history_data
2023-11-27 14:24:40 +08:00
7 changed files with 27 additions and 0 deletions

View File

@ -847,6 +847,33 @@ if not exists(select * from information_schema.tables
GRANT SELECT ON TABLE runtime_data TO postgres;
end if;
------------------------------------------------------------------------------------------------
--
if not exists(select * from information_schema.tables
where
table_catalog = CURRENT_CATALOG and table_schema = CURRENT_SCHEMA
and table_name = 'recipe_history_data') then
CREATE TABLE recipe_history_data
(
"str_guid" text,
"role_name" text,
"recipe_name" text,
"hash_code" text,
"create_time" timestamp,
"recipe_gzip" text,
"process_type" text,
"spare1" text,
"spare2" text,
CONSTRAINT recipe_history_data_pkey PRIMARY KEY ("str_guid" )
)
WITH (
OIDS=FALSE
);
ALTER TABLE recipe_history_data
OWNER TO postgres;
GRANT SELECT ON TABLE recipe_history_data TO postgres;
end if;
------------------------------------------------------------------------------------------------
end;