20 lines
362 B
PHP
20 lines
362 B
PHP
|
<?php
|
||
|
|
||
|
use Illuminate\Database\Seeder;
|
||
|
|
||
|
class EjaculationSourcesSeeder extends Seeder
|
||
|
{
|
||
|
/**
|
||
|
* Run the database seeds.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function run()
|
||
|
{
|
||
|
$sources = ['web', 'csv'];
|
||
|
foreach ($sources as $source) {
|
||
|
DB::table('ejaculation_sources')->insert(['name' => $source]);
|
||
|
}
|
||
|
}
|
||
|
}
|