use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateReportersTable extends Migration { public function up() { Schema::create('reporters', function (Blueprint $table) { $table->id(); $table->string('name'); $table->string('father_name'); $table->string('mobile', 10)->unique(); $table->string('aadhaar_no', 12)->unique(); $table->string('pan_no', 10)->unique(); $table->date('dob'); $table->string('photo_path', 255); $table->enum('status', ['pending', 'accepted', 'rejected'])->default('pending'); $table->timestamps(); }); } public function down() { Schema::dropIfExists('reporters'); } }