use STRINGDECODE \n in UPDATE-Statements for linebreaks in sample-data

This commit is contained in:
Michael Hoennig 2019-05-02 23:36:08 +02:00
parent 1bb712276c
commit 5415806621
4 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
<changeSet id="20190502111400-2" author="mhoennig" context="sample-data">
<sql>
UPDATE asset SET remark = replace(remark, '|', '\n')
UPDATE asset SET remark = replace(remark, '|', STRINGDECODE('\n'))
</sql>
<rollback>

View File

@ -20,7 +20,7 @@
<changeSet id="20190403083736-3" author="mhoennig" context="sample-data">
<sql>
UPDATE customer SET contractual_address = replace(contractual_address, '|', '\n')
UPDATE customer SET contractual_address = replace(contractual_address, '|', STRINGDECODE('\n'))
</sql>
<rollback>

View File

@ -20,7 +20,7 @@
<changeSet id="20190502100700-2" author="mhoennig" context="sample-data">
<sql>
UPDATE membership SET remark = replace(remark, '|', '\n')
UPDATE membership SET remark = replace(remark, '|', STRINGDECODE('\n'))
</sql>
<rollback>

View File

@ -20,7 +20,7 @@
<changeSet id="20190502111400-2" author="mhoennig" context="sample-data">
<sql>
UPDATE share SET remark = replace(remark, '|', '\n')
UPDATE share SET remark = replace(remark, '|', STRINGDECODE('\n'))
</sql>
<rollback>