From 49b8870a6190a9a8343abd7d34d84e0d16edb77e Mon Sep 17 00:00:00 2001 From: sunpeng Date: Wed, 27 Sep 2023 09:33:02 +0800 Subject: [PATCH] fix: change audit detail length to 65472 --- api/audit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/audit.go b/api/audit.go index 99ef088..1aac892 100644 --- a/api/audit.go +++ b/api/audit.go @@ -161,7 +161,7 @@ func (a *Audit) createDBSql() string { } var createTableSql = "create stable if not exists operations " + - "(ts timestamp, user_name varchar(25), operation varchar(20), details varchar(65427)) " + + "(ts timestamp, user_name varchar(25), operation varchar(20), details varchar(65472)) " + "tags (target_1 varchar(100), target_2 varchar(300), cluster_id varchar(32))" func (a *Audit) createSTables() error {