mirror of
https://github.com/koel/koel
synced 2024-11-24 05:03:05 +00:00
fix: album cover cannot be null (fixes #1474)
This commit is contained in:
parent
f010c773a1
commit
9741b17eb6
1 changed files with 1 additions and 1 deletions
|
@ -7,6 +7,6 @@ return new class extends Migration
|
|||
{
|
||||
public function up(): void
|
||||
{
|
||||
Album::where('cover', 'unknown-album.png')->update(['cover' => null]);
|
||||
Album::where('cover', 'unknown-album.png')->update(['cover' => '']);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue