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);