add one culum for rahdaran and add in controller

This commit is contained in:
2025-09-03 10:18:53 +03:30
parent 03d8dc7294
commit 70b4472f18
4 changed files with 33 additions and 0 deletions

View File

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