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"
|
ALTER COLUMN "act" SET DATA TYPE "ItemActType"
|
||||||
USING (
|
USING (
|
||||||
CASE
|
CASE
|
||||||
WHEN "act" THEN 'VOTE'
|
WHEN "act" THEN 'BOOST'
|
||||||
ELSE 'BOOST'
|
ELSE 'VOTE'
|
||||||
END
|
END
|
||||||
)::"ItemActType";
|
)::"ItemActType";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue