mattermost / migration-assist

A helper tool to automate MySQL -> Postgres migration for Mattermost
https://docs.mattermost.com/deploy/postgres-migration.html
2 stars 2 forks source link

fix backslash escape for unicode escape sequence #28

Closed isacikgoz closed 1 month ago

isacikgoz commented 1 month ago

Summary

Figured out this by testing locally, we should actually escape the backslash because the replace reads values as raw strings.

agnivade commented 1 month ago

Is it applicable only for migration-assist or the main repo as well?

isacikgoz commented 1 month ago

@agnivade this is only for the migration-assist. Luckily we don't use replace for escaped values in main repo.