]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix migration
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 Apr 2019 14:38:05 +0000 (15:38 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 Apr 2019 14:38:05 +0000 (15:38 +0100)
src/plugins/lua/clickhouse.lua

index 24dd65e6663cf5ca29a8c007878594f7a89f3b5b..501005abbf13cc0b8045bfae4f44cc358e8afdbf 100644 (file)
@@ -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