21 lines
417 B
PHP
21 lines
417 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\IncoNutritionalValue;
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class IncoNutritionalValueSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('inco_nutritional_values')->truncate();
|
|
IncoNutritionalValue::factory(150)->create();
|
|
}
|
|
}
|