Skip to content

Commit

Permalink
Fixed more lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-doherty committed Oct 21, 2023
1 parent 6e2a9e5 commit 3b142e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file removed cmd/gonic/__debug_bin2848992197
Binary file not shown.
2 changes: 1 addition & 1 deletion db/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ func backupDBPre016(tx *gorm.DB, ctx MigrationContext) error {
return Dump(context.Background(), tx, fmt.Sprintf("%s.%d.bak", ctx.DBPath, time.Now().Unix()))
}

func migrateArtistInfoIDtoName(tx *gorm.DB, ctx MigrationContext) error {
func migrateArtistInfoIDtoName(tx *gorm.DB, _ MigrationContext) error {
// New primary key means new table. Dropping the old one completely since it's a cache.
step := tx.Exec(`
CREATE TABLE IF NOT EXISTS "new_artist_infos" ("name" varchar(255), "created_at" datetime,
Expand Down

0 comments on commit 3b142e9

Please sign in to comment.