Skip to content
Snippets Groups Projects
Commit 8a22a61a authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

evo: add record patrol structure

parent 4002fe87
No related branches found
No related tags found
No related merge requests found
...@@ -1527,6 +1527,32 @@ CREATE TABLE doctypes_second_level ...@@ -1527,6 +1527,32 @@ CREATE TABLE doctypes_second_level
) )
WITH (OIDS=FALSE); WITH (OIDS=FALSE);
-- Table: rp_history
CREATE SEQUENCE rp_history_id_seq
INCREMENT 1
MINVALUE 1
MAXVALUE 9223372036854775807
START 1
CACHE 1;
CREATE TABLE rp_history
(
system_id bigint NOT NULL DEFAULT nextval('rp_history_id_seq'::regclass),
table_name character varying(32) NOT NULL,
rp_cycle bigint NOT NULL,
start_res_id bigint NOT NULL,
stop_res_id bigint NOT NULL,
start_date timestamp without time zone NOT NULL,
stop_date timestamp without time zone NOT NULL,
res_count bigint NOT NULL,
fail_count bigint NOT NULL,
CONSTRAINT rp_history_pkey PRIMARY KEY (system_id)
)
WITH (
OIDS=FALSE
);
CREATE SEQUENCE res_id_seq CREATE SEQUENCE res_id_seq
INCREMENT 1 INCREMENT 1
MINVALUE 1 MINVALUE 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment