mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
21 lines
422 B
PHP
21 lines
422 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use App\Models\Album;
|
|
use App\Models\Artist;
|
|
|
|
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,
|
|
]);
|
|
}
|
|
}
|