mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
21 lines
422 B
PHP
21 lines
422 B
PHP
<?php
|
|
|
|
use App\Models\Album;
|
|
use App\Models\Artist;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class AlbumTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run()
|
|
{
|
|
Album::create([
|
|
'id' => Album::UNKNOWN_ID,
|
|
'artist_id' => Artist::UNKNOWN_ID,
|
|
'name' => Album::UNKNOWN_NAME,
|
|
'cover' => Album::UNKNOWN_COVER,
|
|
]);
|
|
}
|
|
}
|