ldc-supportweb/database/seeders/Classic/NoticeSeeder.php

26 lines
440 B
PHP
Raw Normal View History

2026-04-30 14:41:56 +02:00
<?php
namespace Database\Seeders\Classic;
use App\Models\Notice;
use Illuminate\Database\Seeder;
/**
* Seeds the notices table.
*/
class NoticeSeeder extends Seeder
{
/** @var string $table Associated table to this seeder. */
public static string $table = 'notices';
/**
* Run the database seeds.
*
* @return void
*/
public function run(): void
{
Notice::factory(10)->create();
}
}