refactor: update DatabaseSeeder to include staging environment for data initialization
This commit is contained in:
parent
7ceaf883ae
commit
d5ca41a764
@ -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,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user