feat(subsonic): add getAlbumInfo with cache
Release-As: 0.16.1
This commit is contained in:
@@ -69,6 +69,7 @@ func (db *DB) Migrate(ctx MigrationContext) error {
|
||||
construct(ctx, "202310252205", migrateAlbumTagArtistString),
|
||||
construct(ctx, "202310281803", migrateTrackArtists),
|
||||
construct(ctx, "202311062259", migrateArtistAppearances),
|
||||
construct(ctx, "202311072309", migrateAlbumInfo),
|
||||
}
|
||||
|
||||
return gormigrate.
|
||||
@@ -779,3 +780,10 @@ func migrateArtistAppearances(tx *gorm.DB, _ MigrationContext) error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func migrateAlbumInfo(tx *gorm.DB, _ MigrationContext) error {
|
||||
return tx.AutoMigrate(
|
||||
AlbumInfo{},
|
||||
).
|
||||
Error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user