koel/database/seeds/AlbumTableSeeder.php
2015-12-14 08:22:39 -05:00

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,
]);
}
}