删除废弃迁移文件

main
liutk 2026-04-12 20:06:54 +08:00
parent 6721bcbc18
commit cdfb721857
1 changed files with 0 additions and 28 deletions

View File

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