21 lines
483 B
SQL
21 lines
483 B
SQL
ALTER TABLE `associations`
|
|
MODIFY `thematique` text;
|
|
|
|
--> statement-breakpoint
|
|
|
|
UPDATE `associations`
|
|
SET `thematique` = JSON_ARRAY(`thematique`)
|
|
WHERE `thematique` IS NOT NULL
|
|
AND `thematique` NOT LIKE '[%';
|
|
|
|
--> statement-breakpoint
|
|
|
|
ALTER TABLE `associationDirectoryEntries`
|
|
MODIFY `thematique` text;
|
|
|
|
--> statement-breakpoint
|
|
|
|
UPDATE `associationDirectoryEntries`
|
|
SET `thematique` = JSON_ARRAY(`thematique`)
|
|
WHERE `thematique` IS NOT NULL
|
|
AND `thematique` NOT LIKE '[%';
|