Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 916fbf85 authored by 64160072's avatar 64160072
Browse files

database

parent 38e0abad
No related branches found
No related tags found
1 merge request!12proof tranfer update
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
*/ */
public function up() public function up()
{ {
Schema::create('Mamber', function (Blueprint $table){ Schema::create('Member', function (Blueprint $table){
$table->mem_id(); $table->id();
$table->string('mem_id_card'); $table->string('mem_id_card');
$table->string('mem_prefix_th'); $table->string('mem_prefix_th');
$table->string('mem_prefix_en'); $table->string('mem_prefix_en');
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
public function up() public function up()
{ {
Schema::create('Address', function (Blueprint $table){ Schema::create('Address', function (Blueprint $table){
$table->address_id(); $table->id();
$table->string('add_house_number'); $table->string('add_house_number');
$table->string('add_district'); $table->string('add_district');
$table->string('add_sub_district'); $table->string('add_sub_district');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment