remove tow culm such as lat and lng in harim table

This commit is contained in:
2025-09-13 15:58:07 +03:30
parent 20b2cb01d7
commit 109aad86b1

View File

@@ -0,0 +1,30 @@
<?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('harims', function (Blueprint $table) {
$table->dropColumn('lat');
$table->dropColumn('lng');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('harims', function (Blueprint $table) {
$table->string('lat');
$table->string('lng');
});
}
};