<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('enquiries', function (Blueprint $table) { $table->id(); $table->string('first_name'); $table->string('middle_name'); $table->string('last_name'); $table->date('dob'); $table->string('cob'); $table->string('gender'); $table->string('email'); $table->string('phone'); $table->string('address'); $table->string('highest_qualification'); $table->string('stream'); $table->string('gpa'); $table->string('graduate_year'); $table->string('gap'); $table->string('work_experience'); $table->string('salary_mode'); $table->string('test_score'); $table->string('marital_status'); $table->string('marital_date'); $table->string('spouse_academics'); $table->string('marital_date'); $table->boolean('status')->default(true); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('enquiries'); } };