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('tbl_accounts', function (Blueprint $table) {
$table->id();
$table->string("username")->nullable();
$table->string("password")->nullable();
$table->string("first_name")->nullable();
$table->string("last_name")->nullable();
$table->string("middle_name")->nullable();
$table->string("office_address")->nullable();
$table->string("mobile_number")->nullable();
$table->string("date_birth")->nullable();
$table->string("age")->nullable();
$table->string("sex")->nullable();
$table->string("position")->nullable();
$table->string("degree")->nullable();
$table->string("agency")->nullable();
$table->string("subagency")->nullable();
$table->string("user_type")->nullable();
$table->timestamps();
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('tbl_accounts');
}
};