ALTER TABLE `courses`
  ADD COLUMN `content` text NULL AFTER `name`;

UPDATE `courses`
SET `content` = JSON_UNQUOTE(JSON_EXTRACT(`raw_payload`, '$.content'))
WHERE `content` IS NULL
  AND JSON_EXTRACT(`raw_payload`, '$.content') IS NOT NULL;
