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
@@ -1,33 +0,0 @@
<?php
declare(strict_types=1);
namespace Database\Factories\Pivots\Wiki;
use App\Pivots\Wiki\ArtistSong;
use Illuminate\Database\Eloquent\Factories\Attributes\UseModel;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
/**
* @method ArtistSong createOne($attributes = [])
* @method ArtistSong makeOne($attributes = [])
*
* @extends Factory<ArtistSong>
*/
#[UseModel(ArtistSong::class)]
class ArtistSongFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
ArtistSong::ATTRIBUTE_ALIAS => Str::random(),
ArtistSong::ATTRIBUTE_AS => Str::random(),
];
}
}