Browse Source

Merge pull request #3494 from ventulis/master

[FIX] Clickhouse Migrations SQL Syntax Error
tags/2.6
Vsevolod Stakhov 3 years ago
parent
commit
2973bb0129
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/plugins/lua/clickhouse.lua

+ 1
- 1
src/plugins/lua/clickhouse.lua View File

@@ -210,7 +210,7 @@ local migrations = {
[4] = {
[[ALTER TABLE rspamd
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 IF NOT EXISTS COLUMN CustomAction String AFTER Action
ADD COLUMN IF NOT EXISTS CustomAction String AFTER Action
]],
-- New version
[[INSERT INTO rspamd_version (Version) Values (5)]],

Loading…
Cancel
Save