Skip to content

Commit 14911f8

Browse files
authored
Merge pull request #118 from navikt/migrate_json
Migrate json to newest version.
2 parents c70f61a + 5557282 commit 14911f8

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
UPDATE klage.document
2+
SET json = REPLACE(json, 'heading-one', 'h1')
3+
WHERE created > '2023-03-24';
4+
5+
UPDATE klage.document
6+
SET json = REPLACE(json, 'heading-two', 'h2')
7+
WHERE created > '2023-03-24';
8+
9+
UPDATE klage.document
10+
SET json = REPLACE(json, 'heading-three', 'h3')
11+
WHERE created > '2023-03-24';
12+
13+
UPDATE klage.document
14+
SET json = REPLACE(json, 'heading-four', 'h4')
15+
WHERE created > '2023-03-24';
16+
17+
UPDATE klage.document
18+
SET json = REPLACE(json, 'paragraph', 'p')
19+
WHERE created > '2023-03-24';
20+
21+
UPDATE klage.document
22+
SET json = REPLACE(json, 'bullet-list', 'ul')
23+
WHERE created > '2023-03-24';
24+
25+
UPDATE klage.document
26+
SET json = REPLACE(json, 'numbered-list', 'ol')
27+
WHERE created > '2023-03-24';
28+
29+
UPDATE klage.document
30+
SET json = REPLACE(json, 'list-item-container', 'lic')
31+
WHERE created > '2023-03-24';
32+
33+
UPDATE klage.document
34+
SET json = REPLACE(json, 'list-item', 'li')
35+
WHERE created > '2023-03-24';
36+
37+
UPDATE klage.document
38+
SET json = REPLACE(json, 'textAlign', 'align')
39+
WHERE created > '2023-03-24';
40+
41+
UPDATE klage.document
42+
SET json = REPLACE(json, 'text-align-left', 'left')
43+
WHERE created > '2023-03-24';
44+
45+
UPDATE klage.document
46+
SET json = REPLACE(json, 'text-align-right', 'right')
47+
WHERE created > '2023-03-24';

0 commit comments

Comments
 (0)