clean: remove artist song model and using performance as pivot (#1155)

This commit is contained in:
Kyrch
2026-04-09 03:07:24 -03:00
committed by GitHub
parent 544155052c
commit 549f5b6461
42 changed files with 209 additions and 1437 deletions
-14
View File
@@ -44,18 +44,4 @@ abstract class BaseModel extends Model implements HasSubtitle, Nameable
$this->setConnection(Config::get($connectionKey));
}
}
// Temporary fix for Laravel 13.
public function newCollection(array $models = [])
{
$collectionClass = static::$collectionClass;
$collection = new $collectionClass($models);
if (Model::isAutomaticallyEagerLoadingRelationships()) {
$collection->withRelationshipAutoloading();
}
return $collection;
}
}