fix vote->itemAct migration
This commit is contained in:
parent
3081a8ea16
commit
700f4510c4
|
@ -22,8 +22,8 @@ ALTER TABLE "ItemAct"
|
|||
ALTER COLUMN "act" SET DATA TYPE "ItemActType"
|
||||
USING (
|
||||
CASE
|
||||
WHEN "act" THEN 'VOTE'
|
||||
ELSE 'BOOST'
|
||||
WHEN "act" THEN 'BOOST'
|
||||
ELSE 'VOTE'
|
||||
END
|
||||
)::"ItemActType";
|
||||
|
||||
|
|
Loading…
Reference in New Issue