create one column for radaran and add in rahdaran controller

This commit is contained in:
2025-10-01 10:23:01 +03:30
parent 3a2457686a
commit 4c3aa87acf
2 changed files with 33 additions and 0 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('rahdaran', function (Blueprint $table) {
$table->string('edareh_shahri_name')->nullable()->after('edareh_shahri_id');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('rahdaran', function (Blueprint $table) {
$table->dropColumn('edareh_shahri_name');
});
}
};