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([ $this->call([
RolePermissionSeeder::class, RolePermissionSeeder::class,
UserSeeder::class, UserSeeder::class,
SystemConfigurationSeeder::class, SystemConfigurationSeeder::class,
CashAccountSeeder::class CashAccountSeeder::class,
]); ]);
} }
} }