EVOLUTION-NINJA
Edit File: 2025_08_06_072439_create_employees_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('employees', function (Blueprint $table) { $table->id(); $table->string('teacher_id')->unique(); $table->string('name'); $table->integer('employee_role'); $table->string('email'); $table->string('phone_number'); $table->string('gender'); $table->string('department'); $table->string('qualification'); $table->string('DOB'); $table->string('DOJ'); $table->string('experience'); $table->string('address'); $table->string('level_of_education'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('employees'); } };