diff --git a/database/migrations/2023_04_06_033755_member.php b/database/migrations/2023_04_06_033755_member.php index 13c40ec3516b972d0be8b274eaae5f78f2377930..1e90739c65cf6828833374b8159b778b71aac100 100644 --- a/database/migrations/2023_04_06_033755_member.php +++ b/database/migrations/2023_04_06_033755_member.php @@ -13,8 +13,8 @@ */ public function up() { - Schema::create('Mamber', function (Blueprint $table){ - $table->mem_id(); + Schema::create('Member', function (Blueprint $table){ + $table->id(); $table->string('mem_id_card'); $table->string('mem_prefix_th'); $table->string('mem_prefix_en'); diff --git a/database/migrations/2023_04_06_040756_address.php b/database/migrations/2023_04_06_040756_address.php index 8691f3b2bf11808c84fb737a41984dfa52ced8e4..34894e605a780b3e384cc70fc540169fb6653fd0 100644 --- a/database/migrations/2023_04_06_040756_address.php +++ b/database/migrations/2023_04_06_040756_address.php @@ -14,7 +14,7 @@ public function up() { Schema::create('Address', function (Blueprint $table){ - $table->address_id(); + $table->id(); $table->string('add_house_number'); $table->string('add_district'); $table->string('add_sub_district');