[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:
@@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user