grocy/migrations/0080.sql

9 lines
235 B
SQL

UPDATE products
SET description = REPLACE(description, CHAR(13) + CHAR(10), '<br>');
UPDATE products
SET description = REPLACE(description, CHAR(13), '<br>');
UPDATE products
SET description = REPLACE(description, CHAR(10), '<br>');