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:
@@ -60,5 +60,8 @@ class VisaMasterPaymentOrdersMigrator
|
||||
'deleted_at' => $item->deleted_at,
|
||||
]);
|
||||
}
|
||||
|
||||
DB::statement("SELECT setval('visa_master_payment_orders_id_seq', (SELECT MAX(id) from visa_master_payment_orders));");
|
||||
DB::statement("SELECT nextval('visa_master_payment_orders_id_seq');");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user