Misc changes

This commit is contained in:
2026-01-09 13:01:53 +01:00
parent 51c67bb797
commit c0b068de58
14 changed files with 27 additions and 31 deletions

View File

@@ -15,7 +15,7 @@ return new class extends Migration
public function up(): void
{
# Delete entries with "#" as URL
Downloads::where('url', '#')->forceDelete();
Downloads::where('url', '#')->delete();
# Remove duplicate entries
$duplicates = DB::table('downloads')

View File

@@ -155,7 +155,7 @@ return new class extends Migration
->where('playlist_id', '=', $playlist->id)
->delete();
$playlist->forceDelete();
$playlist->delete();
}
}