aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-18 15:38:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-18 15:38:05 +0100
commitabd952742b51f2b21931c8b08de5fe024f188f6b (patch)
treeed26a89dedf61d2b8ee72a81223c9673dbd15300
parent9266c101459dcd02b966ce2fd6de575647440190 (diff)
downloadrspamd-abd952742b51f2b21931c8b08de5fe024f188f6b.tar.gz
rspamd-abd952742b51f2b21931c8b08de5fe024f188f6b.zip
[Minor] Fix migration
-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 24dd65e66..501005abb 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -188,7 +188,7 @@ local migrations = {
},
[4] = {
[[ALTER TABLE rspamd
- Action Enum8('reject' = 0, 'rewrite subject' = 1, 'add header' = 2, 'greylist' = 3, 'no action' = 4, 'soft reject' = 5, 'custom' = 6) DEFAULT 'no action',
+ MODIFY COLUMN Action Enum8('reject' = 0, 'rewrite subject' = 1, 'add header' = 2, 'greylist' = 3, 'no action' = 4, 'soft reject' = 5, 'custom' = 6) DEFAULT 'no action',
ADD COLUMN CustomAction String AFTER Action
]],
-- New version