<?php
 use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::create('cache_locks', function (Blueprint $t) { $t->string('key', 255); $t->string('owner', 255); $t->integer('expiration'); $t->primary(['key']); }); } public function down(): void { Schema::dropIfExists('cache_locks'); } }; 