Compare commits
1 Commits
master
...
develop_废弃_归档
Author | SHA1 | Date |
---|---|---|
Han Qiang Qiang | 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