Refactor ActivityLogModule and clean up seeders
- Adjusted indentation in ActivityLogModule methods for consistency. - Simplified ActivityLogRepository class by removing unnecessary lines. - Updated FillJsonData seeder to streamline the run method. - Modified various Migrator classes to change JSON data paths for testing and added sequence reset statements for better database integrity.
This commit is contained in:
@@ -9,10 +9,7 @@ class FillJsonData extends Seeder
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
|
||||
}
|
||||
public function run(): void {}
|
||||
|
||||
protected function seedUsers(): void
|
||||
{
|
||||
@@ -73,4 +70,14 @@ class FillJsonData extends Seeder
|
||||
{
|
||||
(new Migrators\ActionEventsMigrator)->migrate();
|
||||
}
|
||||
|
||||
protected function seedBranchUser(): void
|
||||
{
|
||||
(new Migrators\BranchUserMigrator)->migrate();
|
||||
}
|
||||
|
||||
protected function seedCurrencyRates(): void
|
||||
{
|
||||
(new Migrators\CurrencyRatesMigrator)->migrate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user