25 lines
440 B
PHP
25 lines
440 B
PHP
<?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();
|
|
}
|
|
}
|