integrate zkevm

This commit is contained in:
Sebastian
2023-08-24 06:34:44 +02:00
parent b7248a04ff
commit ffc37ede08
6 changed files with 1178 additions and 0 deletions

14
zkevm/init_event_db.sql Normal file
View File

@@ -0,0 +1,14 @@
CREATE TYPE level_t AS ENUM ('emerg', 'alert', 'crit', 'err', 'warning', 'notice', 'info', 'debug');
CREATE TABLE public.event (
id BIGSERIAL PRIMARY KEY,
received_at timestamp WITH TIME ZONE default CURRENT_TIMESTAMP,
ip_address inet,
source varchar(32) not null,
component varchar(32),
level level_t not null,
event_id varchar(32) not null,
description text,
data bytea,
json jsonb
);