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…
Reference in New Issue