mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 19:14:23 +00:00
12 lines
315 B
MySQL
12 lines
315 B
MySQL
|
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
|
||
|
|
||
|
, INDEX log_date_desc (instance_id, log_date DESC) STORING (took)
|
||
|
);
|