mirror of
https://github.com/koel/koel
synced 2024-12-01 00:09:17 +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,
|
|
]);
|
|
}
|
|
}
|