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:
Mekan1206
2025-12-21 19:16:26 +05:00
parent 515731003c
commit 76c05ebe7c
20 changed files with 151 additions and 26 deletions

View File

@@ -39,6 +39,9 @@ class UsersMigrator
'active' => $user['active'],
]);
}
DB::statement("SELECT setval('users_id_seq', (SELECT MAX(id) from users));");
DB::statement("SELECT nextval('users_id_seq');");
}
protected function extractFirstName(string $name): string