[12.x] Update jobs/cache migrations (#6736)

* Update 0001_01_01_000001_create_cache_table.php

* Update 0001_01_01_000002_create_jobs_table.php

* Update 0001_01_01_000002_create_jobs_table.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
This commit is contained in:
Jack Bayliss
2026-01-13 14:45:09 +00:00
committed by GitHub
parent 36281b285a
commit be7c4b76ec

View File

@@ -14,13 +14,13 @@ return new class extends Migration
Schema::create('cache', function (Blueprint $table) {
$table->string('key')->primary();
$table->mediumText('value');
$table->integer('expiration');
$table->integer('expiration')->index();
});
Schema::create('cache_locks', function (Blueprint $table) {
$table->string('key')->primary();
$table->string('owner');
$table->integer('expiration');
$table->integer('expiration')->index();
});
}