You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.5 KiB
58 lines
1.5 KiB
2 years ago
|
<?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('country');
|
||
|
$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');
|
||
|
}
|
||
|
};
|