parent
4a305d6a92
commit
ed3918d02a
10 changed files with 140 additions and 83 deletions
@ -0,0 +1,57 @@ |
|||||||
|
<?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'); |
||||||
|
} |
||||||
|
}; |
Loading…
Reference in new issue