diff --git a/database/migrations/2023_04_06_033755_member.php b/database/migrations/2023_04_06_033755_member.php index d7a1045adf8fb31a0d8cd1620475dc52a78c98a9..98d906511b3847c14a576bbc6808764a17133b49 100644 --- a/database/migrations/2023_04_06_033755_member.php +++ b/database/migrations/2023_04_06_033755_member.php @@ -35,6 +35,7 @@ public function up() $table->integer('mem_balance')->nullable(); $table->string('password')->nullable(); $table->string('address_id')->nullable(); + $table->timestamps(); }); DB::table('Member')->insert([ [ diff --git a/database/migrations/2023_04_08_082032_benefits.php b/database/migrations/2023_04_08_082032_benefits.php new file mode 100644 index 0000000000000000000000000000000000000000..a1886d4c1523a493100be1a032f622e8f35da3b4 --- /dev/null +++ b/database/migrations/2023_04_08_082032_benefits.php @@ -0,0 +1,34 @@ +<?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('Benefits', function (Blueprint $table){ + $table->id(); + $table->string('ben_name'); + $table->string('ben_member_relation')->nullable(); + $table->string('ben_phone_number')->nullable(); + $table->string('mem_id')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +};