EVOLUTION-NINJA
Edit File: 2025_07_11_103647_create_add_students_table.php
<?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::create('add_students', function (Blueprint $table) { $table->id(); $table->string('student_id')->unique(); $table->string('first_name'); $table->string('middle_name'); $table->string('last_name'); $table->string('admissionDate'); $table->string('academicYear'); $table->integer('discount_in_fee'); $table->string('currentClass'); $table->string('section'); $table->string('DOB'); $table->string('Gender'); $table->string('phone'); $table->string('email'); $table->string('photo'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('add_students'); } };