use STRINGDECODE \n in UPDATE-Statements for linebreaks in sample-data
This commit is contained in:
parent
1bb712276c
commit
5415806621
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<changeSet id="20190502111400-2" author="mhoennig" context="sample-data">
|
<changeSet id="20190502111400-2" author="mhoennig" context="sample-data">
|
||||||
<sql>
|
<sql>
|
||||||
UPDATE asset SET remark = replace(remark, '|', '\n')
|
UPDATE asset SET remark = replace(remark, '|', STRINGDECODE('\n'))
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<rollback>
|
<rollback>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<changeSet id="20190403083736-3" author="mhoennig" context="sample-data">
|
<changeSet id="20190403083736-3" author="mhoennig" context="sample-data">
|
||||||
<sql>
|
<sql>
|
||||||
UPDATE customer SET contractual_address = replace(contractual_address, '|', '\n')
|
UPDATE customer SET contractual_address = replace(contractual_address, '|', STRINGDECODE('\n'))
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<rollback>
|
<rollback>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<changeSet id="20190502100700-2" author="mhoennig" context="sample-data">
|
<changeSet id="20190502100700-2" author="mhoennig" context="sample-data">
|
||||||
<sql>
|
<sql>
|
||||||
UPDATE membership SET remark = replace(remark, '|', '\n')
|
UPDATE membership SET remark = replace(remark, '|', STRINGDECODE('\n'))
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<rollback>
|
<rollback>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<changeSet id="20190502111400-2" author="mhoennig" context="sample-data">
|
<changeSet id="20190502111400-2" author="mhoennig" context="sample-data">
|
||||||
<sql>
|
<sql>
|
||||||
UPDATE share SET remark = replace(remark, '|', '\n')
|
UPDATE share SET remark = replace(remark, '|', STRINGDECODE('\n'))
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<rollback>
|
<rollback>
|
||||||
|
Loading…
Reference in New Issue
Block a user