Skip to content
Snippets Groups Projects
Commit 9930c23a authored by Radko Krkoš's avatar Radko Krkoš
Browse files

Fix: Add migration to use correct encoding from environment

* The issue was fixed in code in revisions 4c89be6b and a82dc686. This
  commit uses the same approach, but fixes the existing malformed records
  in the users table in an alembic migration during upgrade.
* First, an approach based on plpython3u extension and a user-defined
  function was considered, which had the downside of added dependency.
  This one is implemented in Python - data is read from the database,
  the demangling is performed and the correct new data is UPDATEd into
  the database.

(Redmine issue: #7553)
parent 9505cc2a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment