Your ROOT_URL in app.ini is http://159.89.207.79:3000/ but you are visiting http://9.cron.my.id:3000/tribikram/ET-VISA/src/commit/ed3918d02a17899ed6914b53e8da5ef1a37152a3/database/migrations/2023_02_16_164503_create_enquiries_table.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
 
 
 
 

57 lines
1.5 KiB

<?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');
}
};