Closed J1a-wei closed 1 year ago
CREATE TABLE stats_meta_p (
id bigserial UNIQUE,
version int not null default 1,
ts timestamp not null,
process character varying(20) not null,
machine character varying(50),
created_trunc timestamp not null,
exporter_version varchar(35),
day int,
user_id bigint not null,
primary key (id, day)
) PARTITION BY LIST (day);
CREATE TABLE stats_process (
id bigserial primary key,
cpu_process_seconds_total bigint not null,
memory_process_bytes bigint not null,
client_name character varying(25) not null,
client_version character varying(25) not null,
client_build int not null,
sync_eth2_fallback_configured bool not null,
sync_eth2_fallback_connected bool not null,
meta_id bigint not null,
foreign key(meta_id) references stats_meta(id)
);
stats_process foreign key(meta_id) references stats_meta(id)
But table.sql not create it.
Which branch is the stable version?
Outdated issue, please report again if the problem still persists.
Foreign key reference table does not exist. e.g. stats_meta and stats_meta_p