fix: album cover cannot be null (fixes #1474)

This commit is contained in:
Phan An 2022-08-08 18:05:57 +02:00
parent f010c773a1
commit 9741b17eb6
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC

View file

@ -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' => '']);
}
};