mirror of
https://github.com/discourse/discourse.git
synced 2025-03-15 20:35:50 +08:00
FIX: Fix verification_status migration for uploads
* Missing ELSE 1 even though there is a default on the column.
This commit is contained in:
parent
49bd066037
commit
c2a660ead3
@ -10,6 +10,7 @@ class ChangeUploadsVerifiedToInteger < ActiveRecord::Migration[6.0]
|
||||
UPDATE uploads SET verification_status = CASE WHEN
|
||||
verified THEN 2
|
||||
WHEN NOT verified THEN 3
|
||||
ELSE 1
|
||||
END
|
||||
SQL
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user