Skip to content

Commit

Permalink
added dead event table
Browse files Browse the repository at this point in the history
  • Loading branch information
CriMDev97 committed Oct 17, 2023
1 parent 7a402f5 commit 056bafd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
http://www.liquibase.org/xml/ns/pro
http://www.liquibase.org/xml/ns/pro/liquibase-pro-4.1.xsd">

<changeSet author="pasqualino-cristaudo-acn" id="init_table">
<changeSet author="SIGNAL-HUB" id="init_table">
<sqlFile
endDelimiter=";"
path="init_table.sql"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,17 @@ CREATE TABLE IF NOT EXISTS TRACING_BATCH (
batch_id SERIAL PRIMARY KEY,
state VARCHAR (50) NOT NULL,
last_event_id BIGINT,
event_type VARCHAR (50) NOT NULL,
tmst_started TIMESTAMP NOT NULL,
tmst_ended TIMESTAMP
);

CREATE TABLE IF NOT EXISTS DEAD_EVENT (
event_tmp_id SERIAL PRIMARY KEY,
tmst_insert TIMESTAMP,
error_reason VARCHAR(255) NOT NULL,
event_id BIGINT NOT NULL,
event_type VARCHAR (50) NOT NULL,
object_type VARCHAR (50) NOT NULL,
eservice_id VARCHAR (50),
agreement_id VARCHAR (50)
);

0 comments on commit 056bafd

Please sign in to comment.