diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..495a6af99 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +ignore-scripts=true +audit=true diff --git a/app/Config/logging.php b/app/Config/logging.php index f5cbd5ffc..c3db01cfd 100644 --- a/app/Config/logging.php +++ b/app/Config/logging.php @@ -49,7 +49,6 @@ return [ 'driver' => 'single', 'path' => storage_path('logs/laravel.log'), 'level' => 'debug', - 'days' => 14, 'replace_placeholders' => true, ], @@ -57,7 +56,7 @@ return [ 'driver' => 'daily', 'path' => storage_path('logs/laravel.log'), 'level' => 'debug', - 'days' => 7, + 'max_files' => 7, 'replace_placeholders' => true, ], diff --git a/database/migrations/2026_10_10_130201_align_cache_and_jobs_schema_to_laravel.php b/database/migrations/2026_10_10_130201_align_cache_and_jobs_schema_to_laravel.php new file mode 100644 index 000000000..96c46781f --- /dev/null +++ b/database/migrations/2026_10_10_130201_align_cache_and_jobs_schema_to_laravel.php @@ -0,0 +1,51 @@ +unsignedSmallInteger('attempts')->change(); + }); + + Schema::table('failed_jobs', function (Blueprint $table) { + $table->string('connection')->change(); + $table->string('queue')->change(); + + $table->index(['connection', 'queue', 'failed_at'], 'fail_queue_time_index'); + }); + + Schema::table('cache', function (Blueprint $table) { + $table->bigInteger('expiration')->change()->index('cache_expiration_index'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('jobs', function (Blueprint $table) { + $table->unsignedTinyInteger('attempts')->change(); + }); + + Schema::table('failed_jobs', function (Blueprint $table) { + $table->dropIndex('fail_queue_time_index'); + + $table->text('connection')->change(); + $table->text('queue')->change(); + }); + + Schema::table('cache', function (Blueprint $table) { + $table->dropIndex('cache_expiration_index'); + $table->integer('expiration')->change(); + }); + } +}; diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore index 8d8904178..a8f2c23fd 100755 --- a/storage/framework/.gitignore +++ b/storage/framework/.gitignore @@ -2,6 +2,7 @@ compiled.php config.php down events.scanned.php +lsp-*.php maintenance.php routes.php routes.scanned.php