add cache lock

This commit is contained in:
2025-09-17 10:55:19 +03:30
parent a78a4fdfdc
commit 5cf58efb6f
5 changed files with 45 additions and 5 deletions

View File

@@ -0,0 +1,28 @@
<?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('damages', function (Blueprint $table) {
$table->dateTime('update_time')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('damages', function (Blueprint $table) {
$table->dropColumn('update_time');
});
}
};