mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-17 19:26:36 -07:00
fix: release associations and add cleanup migration (#168)
* fix: release associations and add cleanup migration * fix: incorrect test
This commit is contained in:
parent
16cee8cfca
commit
cb4d177875
9 changed files with 106 additions and 26 deletions
|
|
@ -52,7 +52,7 @@ func (d *Psql) MergeTracks(ctx context.Context, fromId, toId int32) error {
|
|||
}
|
||||
err = qtx.CleanOrphanedEntries(ctx)
|
||||
if err != nil {
|
||||
l.Err(err).Msg("Failed to clean orphaned entries")
|
||||
l.Err(err).Msg("MergeTracks: Failed to clean orphaned entries")
|
||||
return err
|
||||
}
|
||||
return tx.Commit(ctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue