how to change datatype in mariadb code example
Example: mariadb change column type
ALTER TABLE Schema.TableName
CHANGE COLUMN CurrentTableName NewTableName MEDIUMTEXT DEFAULT NULL COMMENT '(DC2Type:json_array)';
ALTER TABLE Schema.TableName
CHANGE COLUMN CurrentTableName NewTableName MEDIUMTEXT DEFAULT NULL COMMENT '(DC2Type:json_array)';