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:
@@ -1,13 +1,14 @@
|
||||
<?php
|
||||
|
||||
use Database\Seeders\Migrators\ActionEventsMigrator;
|
||||
use Database\Seeders\Migrators\MediaMigrator;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::redirect('/', filament_path());
|
||||
|
||||
Route::get('test', function () {
|
||||
(new ActionEventsMigrator())->migrate();
|
||||
|
||||
|
||||
(new MediaMigrator)->migrate();
|
||||
|
||||
return 'done';
|
||||
});
|
||||
// Route::middleware(['auth'])->group(function () {
|
||||
|
||||
Reference in New Issue
Block a user