<?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('Member', function (Blueprint $table){
            $table->id();
            $table->string('mem_id_card');
            $table->string('mem_prefix_th');
            $table->string('mem_prefix_en');
            $table->string('mem_fname_th');
            $table->string('mem_fname_en');
            $table->string('mem_lname_th');
            $table->string('mem_lname_en');
            $table->date('mem_birthday');
            $table->string('mem_lawyer_type');
            $table->string('mem_license');
            $table->string('mem_lawyer_affiliation');
            $table->string('mem_lawyer_relation');
            $table->string('mem_email');
            $table->string('mem_phone_nember', 10);
            $table->integer('mem_type')->default(0);
            $table->integer('mem_status')->default(0);
            $table->integer('mem_balance');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
};