Skip to content

migration-scripts: fix hedgedoc id issue

Janek requested to merge xeruf/stackspin:hedgedoc-migration into main

Depending on the order of profiles in the database, the script produced this error: mariadb.IntegrityError: Duplicate entry ... for key 'profileid'

Fixed this by prioritising the entry with profile id matching kratos id

Merge request reports

Loading