From c999ef02fe964cd469b00c8bf7f5a9fe0addf386 Mon Sep 17 00:00:00 2001 From: ttt161 Date: Mon, 28 Oct 2024 13:20:43 +0300 Subject: [PATCH] EMP-19: bump epg_connector (#4) Co-authored-by: ttt161 --- rebar.lock | 2 +- src/storage/postgres/prg_pg_backend.erl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rebar.lock b/rebar.lock index 554e3f8..95a1e0e 100644 --- a/rebar.lock +++ b/rebar.lock @@ -7,7 +7,7 @@ {<<"crc32cer">>,{pkg,<<"crc32cer">>,<<"0.1.8">>},2}, {<<"epg_connector">>, {git,"https://github.com/valitydev/epg_connector.git", - {ref,"c4e447b434d83d2d8615453fb5a008a7f493a5c6"}}, + {ref,"19c1a4bd2cde9823b6576bc446e402b90791c9c0"}}, 0}, {<<"epgsql">>, {git,"https://github.com/epgsql/epgsql.git", diff --git a/src/storage/postgres/prg_pg_backend.erl b/src/storage/postgres/prg_pg_backend.erl index 9df0a38..97c8140 100644 --- a/src/storage/postgres/prg_pg_backend.erl +++ b/src/storage/postgres/prg_pg_backend.erl @@ -544,6 +544,7 @@ db_init(#{pool := Pool}, NsId) -> "status process_status NOT NULL, " "detail TEXT, " "aux_state BYTEA, " + "created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), " "metadata JSONB)" ), %% create tasks table