Laravel 13: Applied relevant changes from repo diff

This commit is contained in:
Dan Brown
2026-10-10 14:20:14 +01:00
parent c4f30354e7
commit 93e8851aae
4 changed files with 55 additions and 2 deletions
+2
View File
@@ -0,0 +1,2 @@
ignore-scripts=true
audit=true
+1 -2
View File
@@ -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,
],
@@ -0,0 +1,51 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('jobs', function (Blueprint $table) {
$table->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();
});
}
};
+1
View File
@@ -2,6 +2,7 @@ compiled.php
config.php
down
events.scanned.php
lsp-*.php
maintenance.php
routes.php
routes.scanned.php