refactor: update DatabaseSeeder to include staging environment for data initialization

This commit is contained in:
Yoga Pangestu 2026-06-26 19:36:13 +07:00
parent 7ceaf883ae
commit d5ca41a764

View File

@ -21,12 +21,12 @@ public function run(): void
]);
}
if (app()->isProduction()) {
if (app()->isProduction() || app()->environment('staging')) {
$this->call([
RolePermissionSeeder::class,
UserSeeder::class,
SystemConfigurationSeeder::class,
CashAccountSeeder::class
CashAccountSeeder::class,
]);
}
}