From 3b9a9e070cb01c4a15849d3926b8fb44b56f09e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Thu, 14 Oct 2021 13:19:45 +0900 Subject: [PATCH] =?UTF-8?q?DB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/database/factories/ChildFactory.php | 1 - backend/database/factories/FatherFactory.php | 1 - .../migrations/2021_08_12_054526_create_fathers_table.php | 3 +-- .../migrations/2021_08_13_042143_create_children_table.php | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/backend/database/factories/ChildFactory.php b/backend/database/factories/ChildFactory.php index 67cd72ac..346eb6e2 100644 --- a/backend/database/factories/ChildFactory.php +++ b/backend/database/factories/ChildFactory.php @@ -31,7 +31,6 @@ class ChildFactory extends Factory 'identity' => $this->faker->text(20), 'email' => $this->faker->email, 'tel' => $tel[rand(0, 2)], - 'tel_verified_at' => $this->faker->dateTime, 'password' => $this->faker->password, 'last_name' => $this->faker->lastName, 'first_name' => $this->faker->firstName, diff --git a/backend/database/factories/FatherFactory.php b/backend/database/factories/FatherFactory.php index f645ffe1..2571794f 100644 --- a/backend/database/factories/FatherFactory.php +++ b/backend/database/factories/FatherFactory.php @@ -29,7 +29,6 @@ class FatherFactory extends Factory return [ 'email' => $this->faker->email, - 'email_verified_at' => $this->faker->dateTime, 'password' => $this->faker->password, 'company' => $this->faker->company, 'image' => $this->faker->imageUrl, diff --git a/backend/database/migrations/2021_08_12_054526_create_fathers_table.php b/backend/database/migrations/2021_08_12_054526_create_fathers_table.php index ecbc9322..86839a06 100644 --- a/backend/database/migrations/2021_08_12_054526_create_fathers_table.php +++ b/backend/database/migrations/2021_08_12_054526_create_fathers_table.php @@ -16,9 +16,8 @@ class CreateFathersTable extends Migration Schema::create('fathers', function (Blueprint $table) { $table->id(); $table->string('email', 255)->unique(); - $table->dateTime('email_verified_at'); $table->string('password', 72); - $table->string('company', 100)->nullable(); + $table->string('company', 100); $table->string('image', 100)->nullable(); $table->string('profile', 1000)->nullable(); $table->string('tel', 11)->unique(); diff --git a/backend/database/migrations/2021_08_13_042143_create_children_table.php b/backend/database/migrations/2021_08_13_042143_create_children_table.php index 63d153b5..dc2699cf 100644 --- a/backend/database/migrations/2021_08_13_042143_create_children_table.php +++ b/backend/database/migrations/2021_08_13_042143_create_children_table.php @@ -18,7 +18,6 @@ class CreateChildrenTable extends Migration $table->string('identity', 20); $table->string('email', 72)->unique(); $table->string('tel', 11)->unique(); - $table->dateTime('tel_verified_at'); $table->string('password', 255); $table->string('last_name', 100); $table->string('first_name', 100);