1更新dll [027c078],添加Recipe快照压缩保存+历史数据选择对比
2新增数据表recipe_history_data
This commit is contained in:
parent
45094de4f7
commit
69ba13464b
|
@ -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;
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue