26 lines
553 B
PHP
26 lines
553 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
use WithoutModelEvents;
|
|
|
|
/**
|
|
* Seed the application's database.
|
|
*
|
|
* The first admin comes from ADMIN_* in .env; more accounts can be
|
|
* added from the admin panel or with `php artisan admin:create`.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
$this->call([
|
|
AdminUserSeeder::class,
|
|
SiteContentSeeder::class,
|
|
]);
|
|
}
|
|
}
|