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