aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/clickhouse.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-13 13:51:34 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-13 13:51:34 +0000
commit5b795b9a65e53c45f26394439e9c6e0ad4653dec (patch)
tree3366bf4adc729df3c0342affc3365c4d87f0dfee /src/plugins/lua/clickhouse.lua
parentd2ef77b1e75f6f2093f5d62ca17e5e7a3abcbb64 (diff)
downloadrspamd-5b795b9a65e53c45f26394439e9c6e0ad4653dec.tar.gz
rspamd-5b795b9a65e53c45f26394439e9c6e0ad4653dec.zip
[Minor] Clickhouse: Try to fix order of extra columns
Diffstat (limited to 'src/plugins/lua/clickhouse.lua')
-rw-r--r--src/plugins/lua/clickhouse.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua
index 0af00eeef..cf70abab4 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -1140,7 +1140,7 @@ local function add_extra_columns(upstream, ev_base, cfg)
local col = settings.extra_columns[i]
local prev_column
if i == 1 then
- prev_column = 'Digest'
+ prev_column = 'MIMERcpt'
else
prev_column = settings.extra_columns[i - 1].name
end