[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 <[email protected]>
This commit is contained in:
Jack Bayliss
2026-01-13 08:45:09 -06:00
committed by GitHub
co-authored by Taylor Otwell
parent 36281b285a
commit be7c4b76ec
@@ -14,13 +14,13 @@ return new class extends Migration
Schema::create('cache', function (Blueprint $table) { Schema::create('cache', function (Blueprint $table) {
$table->string('key')->primary(); $table->string('key')->primary();
$table->mediumText('value'); $table->mediumText('value');
$table->integer('expiration'); $table->integer('expiration')->index();
}); });
Schema::create('cache_locks', function (Blueprint $table) { Schema::create('cache_locks', function (Blueprint $table) {
$table->string('key')->primary(); $table->string('key')->primary();
$table->string('owner'); $table->string('owner');
$table->integer('expiration'); $table->integer('expiration')->index();
}); });
} }