Fix bulk tagger again (#4133)

* Add ForEndpoint method
* Fix typo in schema 48 migration
This commit is contained in:
DingDongSoLong4
2023-09-20 03:15:48 +02:00
committed by GitHub
parent 7ba7df052d
commit 36e9ed7a6c
3 changed files with 18 additions and 5 deletions

View File

@@ -130,7 +130,7 @@ func (m *schema48PreMigrator) fixStudioNames(ctx context.Context) error {
}
}
logger.Info("Renaming duplicate studio id %d to %s", id, newName)
logger.Infof("Renaming duplicate studio id %d to %s", id, newName)
_, err := m.db.Exec("UPDATE studios SET name = ? WHERE id = ?", newName, id)
if err != nil {
return err