mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-20 23:07:33 +00:00
058192c22b
* test: fix log headers * ensure just public types are tested * fix(postgres): proper statements for setup step 7 --------- Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
12 lines
339 B
SQL
12 lines
339 B
SQL
CREATE TABLE IF NOT EXISTS logstore.execution (
|
|
log_date TIMESTAMPTZ NOT NULL
|
|
, took INTERVAL
|
|
, message TEXT NOT NULL
|
|
, loglevel INT NOT NULL
|
|
, instance_id TEXT NOT NULL
|
|
, action_id TEXT NOT NULL
|
|
, metadata JSONB
|
|
);
|
|
|
|
CREATE INDEX log_date_desc ON logstore.execution (instance_id, log_date DESC) INCLUDE (took);
|