mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
add data conversion to report param migration
This commit is contained in:
parent
76519e0d14
commit
a9c7938887
1 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
-- ConvertData
|
||||
UPDATE "report"
|
||||
SET "parameters" = CONCAT('"', REPLACE(parameters, '"', '\"'), '"');
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "report"
|
||||
ALTER COLUMN "parameters" SET DATA TYPE JSONB USING parameters::JSONB
|
||||
ALTER COLUMN "parameters" SET DATA TYPE JSONB USING parameters::JSONB;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue