Skip to content

Deb 1744 librarydescription

Benjamin requested to merge DEB-1744-librarydescription into master

SQL migrate:

  1. new section for library UPDATE library SET data=json_set(data,'$.sections',json('[{"sectionType": "generic", "data": { "title": "Om biblioteket" }, "blocks": [{ "blockType": "text", "data": {"text": "" }, "order": 0 } ], "order": 0 }]')) ;

  2. move description UPDATE library SET data=json_set(data,'.sections[0].blocks[0].data.text',json_extract(data,'.description')) ;

  3. delete old descripion UPDATE library SET data=json_remove(data,'$.description') ;

Merge request reports