50 lines
1.3 KiB
PHP
50 lines
1.3 KiB
PHP
<?php
|
|
|
|
/**
|
|
* ============================================================
|
|
*
|
|
* @project biiproject
|
|
*
|
|
* @author Andika Debi Putra
|
|
*
|
|
* @email andikadebiputra@gmail.com
|
|
*
|
|
* @website https://biiproject.com
|
|
*
|
|
* @copyright Copyright (c) 2026 Andika Debi Putra
|
|
* @license Proprietary - All Rights Reserved
|
|
*
|
|
* @version 1.0.0
|
|
*
|
|
* @created 2026-05-01
|
|
* ============================================================
|
|
*
|
|
* Unauthorized copying, modification, distribution, or use
|
|
* of this file is strictly prohibited without prior written
|
|
* permission from the author.
|
|
* ============================================================
|
|
*/
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
public function run(): void
|
|
{
|
|
$this->call([
|
|
// Use the newly generated seeders from current database state
|
|
UsersTableSeeder::class,
|
|
RolesTableSeeder::class,
|
|
PermissionsTableSeeder::class,
|
|
ModelHasRolesTableSeeder::class,
|
|
ModelHasPermissionsTableSeeder::class,
|
|
RoleHasPermissionsTableSeeder::class,
|
|
SystemSettingsTableSeeder::class,
|
|
MobileSettingsTableSeeder::class,
|
|
]);
|
|
$this->call(SystemSettingsTableSeeder::class);
|
|
}
|
|
}
|