Skip to content
Snippets Groups Projects

migration-scripts: fix hedgedoc id issue

Merged Janek requested to merge xeruf/stackspin:hedgedoc-migration into main
All threads resolved!

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

Merge request pipeline #44428 failed

Merge request pipeline failed for 6bae782d

Skipped deployment to hedgedoc-‎migration‎

Merged by Arie PetersonArie Peterson 1 year ago (Mar 7, 2024 9:18am UTC)

Merge details

  • Changes merged into with e1556d1f.
  • Did not delete the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Arie Peterson requested review from @arie

    requested review from @arie

  • Arie Peterson requested review from @xeruf and removed review request for @arie

    requested review from @xeruf and removed review request for @arie

  • Arie Peterson resolved all threads

    resolved all threads

  • merged

  • Please register or sign in to reply
    Loading