コミットの修正です。

このコミットが含まれているのは:
守矢諏訪子 2021-09-28 18:00:07 +09:00
コミット 8d05ea57f6
39個のファイルの変更934行の追加22行の削除

11
backend/app/Models/Admin.php ノーマルファイル
ファイルの表示

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Admin extends Model
{
use HasFactory;
}

11
backend/app/Models/EmailActivation.php ノーマルファイル
ファイルの表示

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class EmailActivation extends Model
{
use HasFactory;
}

11
backend/app/Models/Father.php ノーマルファイル
ファイルの表示

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Father extends Model
{
use HasFactory;
}

11
backend/app/Models/FatherRelation.php ノーマルファイル
ファイルの表示

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class FatherRelation extends Model
{
use HasFactory;
}

11
backend/app/Models/Meeting.php ノーマルファイル
ファイルの表示

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Meeting extends Model
{
use HasFactory;
}

11
backend/app/Models/MeetingChild.php ノーマルファイル
ファイルの表示

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class MeetingChild extends Model
{
use HasFactory;
}

11
backend/app/Models/MeetingImage.php ノーマルファイル
ファイルの表示

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class MeetingImage extends Model
{
use HasFactory;
}

11
backend/app/Models/TelActivation.php ノーマルファイル
ファイルの表示

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class TelActivation extends Model
{
use HasFactory;
}

11
backend/app/Models/child.php ノーマルファイル
ファイルの表示

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Child extends Model
{
use HasFactory;
}

36
backend/composer.lock generated
ファイルの表示

@ -937,16 +937,16 @@
},
{
"name": "laravel/framework",
"version": "v8.61.0",
"version": "v8.53.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "3d528d3d3c8ecb444b50a266c212a52973a6669b"
"reference": "5df423c2790f32b26baee90518bb659572aa404f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/3d528d3d3c8ecb444b50a266c212a52973a6669b",
"reference": "3d528d3d3c8ecb444b50a266c212a52973a6669b",
"url": "https://api.github.com/repos/laravel/framework/zipball/5df423c2790f32b26baee90518bb659572aa404f",
"reference": "5df423c2790f32b26baee90518bb659572aa404f",
"shasum": ""
},
"require": {
@ -1020,7 +1020,7 @@
"illuminate/view": "self.version"
},
"require-dev": {
"aws/aws-sdk-php": "^3.189.0",
"aws/aws-sdk-php": "^3.186.4",
"doctrine/dbal": "^2.6|^3.0",
"filp/whoops": "^2.8",
"guzzlehttp/guzzle": "^6.5.5|^7.0.1",
@ -1033,7 +1033,7 @@
"symfony/cache": "^5.1.4"
},
"suggest": {
"aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.189.0).",
"aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.186.4).",
"brianium/paratest": "Required to run tests in parallel (^6.0).",
"doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6|^3.0).",
"ext-ftp": "Required to use the Flysystem FTP driver.",
@ -1102,7 +1102,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
"time": "2021-09-14T13:31:32+00:00"
"time": "2021-08-05T14:04:08+00:00"
},
{
"name": "laravel/tinker",
@ -2604,16 +2604,16 @@
},
{
"name": "ramsey/uuid",
"version": "4.2.3",
"version": "4.2.0",
"source": {
"type": "git",
"url": "https://github.com/ramsey/uuid.git",
"reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df"
"reference": "7231612a5221f5524d3575bebdce20eeef8547a1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ramsey/uuid/zipball/fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df",
"reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df",
"url": "https://api.github.com/repos/ramsey/uuid/zipball/7231612a5221f5524d3575bebdce20eeef8547a1",
"reference": "7231612a5221f5524d3575bebdce20eeef8547a1",
"shasum": ""
},
"require": {
@ -2686,7 +2686,7 @@
],
"support": {
"issues": "https://github.com/ramsey/uuid/issues",
"source": "https://github.com/ramsey/uuid/tree/4.2.3"
"source": "https://github.com/ramsey/uuid/tree/4.2.0"
},
"funding": [
{
@ -2698,7 +2698,7 @@
"type": "tidelift"
}
],
"time": "2021-09-25T23:10:38+00:00"
"time": "2021-08-06T22:30:43+00:00"
},
{
"name": "swiftmailer/swiftmailer",
@ -5749,16 +5749,16 @@
},
{
"name": "laravel/sail",
"version": "v1.10.1",
"version": "v1.9.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/sail.git",
"reference": "267fafeaf0e0311952316ae0f3c765abc7516469"
"reference": "3e1aa8679b10ae9210eebfbc2ee5f3600f356702"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/sail/zipball/267fafeaf0e0311952316ae0f3c765abc7516469",
"reference": "267fafeaf0e0311952316ae0f3c765abc7516469",
"url": "https://api.github.com/repos/laravel/sail/zipball/3e1aa8679b10ae9210eebfbc2ee5f3600f356702",
"reference": "3e1aa8679b10ae9210eebfbc2ee5f3600f356702",
"shasum": ""
},
"require": {
@ -5805,7 +5805,7 @@
"issues": "https://github.com/laravel/sail/issues",
"source": "https://github.com/laravel/sail"
},
"time": "2021-08-23T13:43:27+00:00"
"time": "2021-08-03T18:51:44+00:00"
},
{
"name": "mockery/mockery",

ファイルの表示

@ -106,7 +106,7 @@ return [
|
*/
'faker_locale' => 'en_US',
'faker_locale' => 'ja_JP',
/*
|--------------------------------------------------------------------------

32
backend/database/factories/AdminFactory.php ノーマルファイル
ファイルの表示

@ -0,0 +1,32 @@
<?php
namespace Database\Factories;
use \App\Models\Admin;
use Illuminate\Database\Eloquent\Factories\Factory;
class AdminFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Admin::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'email' => $this->faker->email,
'password' => $this->faker->password,
'remember_token' => $this->faker->password,
'created_at' => $this->faker->dateTime,
'updated_at' => $this->faker->dateTime,
];
}
}

37
backend/database/factories/ChildFactory.php ノーマルファイル
ファイルの表示

@ -0,0 +1,37 @@
<?php
namespace Database\Factories;
use App\Models\Child;
use Illuminate\Database\Eloquent\Factories\Factory;
class ChildFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Child::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'email' => $this->faker->email,
'tel' => $this->faker->phoneNumber,
'tel_verified_at' => $this->faker->dateTime,
'last_name' => $this->faker->lastName,
'first_name' => $this->faker->firstName,
'img' => $this->faker->imageUrl,
'company' => $this->faker->company,
'remember_token' => $this->faker->macPlatformToken,
'created_at' => $this->faker->dateTime,
'updated_at' => $this->faker->dateTime,
];
}
}

ファイルの表示

@ -0,0 +1,33 @@
<?php
namespace Database\Factories;
use App\Models\EmailActivation;
use Illuminate\Database\Eloquent\Factories\Factory;
class EmailActivationFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = EmailActivation::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'father_id' => 1,
'email' => $this->faker->email,
'token' => $this->faker->creditCardNumber,
'ttl' => $this->faker->dateTime,
'created_at' => $this->faker->dateTime,
'updated_at' => $this->faker->dateTime,
];
}
}

37
backend/database/factories/FatherFactory.php ノーマルファイル
ファイルの表示

@ -0,0 +1,37 @@
<?php
namespace Database\Factories;
use App\Models\Father;
use Illuminate\Database\Eloquent\Factories\Factory;
class FatherFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Father::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'email' => $this->faker->email,
'email_verified_at' => $this->faker->dateTime,
'password' => $this->faker->password,
'last_name' => $this->faker->lastName,
'first_name' => $this->faker->firstName,
'image' => $this->faker->imageUrl,
'profile' => $this->faker->realText(49),
'remember_token' => $this->faker->dateTime,
'created_at' => $this->faker->dateTime,
'updated_at' => $this->faker->dateTime,
];
}
}

ファイルの表示

@ -0,0 +1,31 @@
<?php
namespace Database\Factories;
use App\Models\FatherRelation;
use Illuminate\Database\Eloquent\Factories\Factory;
class FatherRelationFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = FatherRelation::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'father_id'=>1,
'child_id'=>1,
'created_at'=>$this->faker->dateTime,
'updated_at'=>$this->faker->dateTime,
];
}
}

ファイルの表示

@ -0,0 +1,32 @@
<?php
namespace Database\Factories;
use App\Models\MeetingChild;
use Illuminate\Database\Eloquent\Factories\Factory;
class MeetingChildFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = MeetingChild::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'child_id'=>1,
'meeting_id'=>1,
'approval_at'=>$this->faker->dateTime,
'created_at'=>$this->faker->dateTime,
'updated_at'=>$this->faker->dateTime,
];
}
}

34
backend/database/factories/MeetingFactory.php ノーマルファイル
ファイルの表示

@ -0,0 +1,34 @@
<?php
namespace Database\Factories;
use App\Models\Meeting;
use Illuminate\Database\Eloquent\Factories\Factory;
class MeetingFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Meeting::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'father_id'=>1,
'title'=>$this->faker->name,
'text'=>$this->faker->realText(49),
'pdf'=>$this->faker->url,
'is_favorite'=>$this->faker->numberBetween($min=0, $max=1),
'created_at' => $this->faker->dateTime,
'updated_at' => $this->faker->dateTime,
];
}
}

ファイルの表示

@ -0,0 +1,31 @@
<?php
namespace Database\Factories;
use App\Models\MeetingImage;
use Illuminate\Database\Eloquent\Factories\Factory;
class MeetingImageFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = MeetingImage::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'meeting_id'=>1,
'image'=>$this->faker->url,
'created_at' => $this->faker->dateTime,
'updated_at' => $this->faker->dateTime,
];
}
}

ファイルの表示

@ -0,0 +1,33 @@
<?php
namespace Database\Factories;
use App\Models\TelActivation;
use Illuminate\Database\Eloquent\Factories\Factory;
class TelActivationFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = TelActivation::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'child_id'=>1,
'tel'=>$this->faker->phoneNumber,
'token' => $this->faker->creditCardNumber,
'ttl' => $this->faker->dateTime,
'created_at' => $this->faker->dateTime,
'updated_at' => $this->faker->dateTime,
];
}
}

ファイルの表示

@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateAdminsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('admins', function (Blueprint $table) {
$table->id();
$table->string('email')->unique();
$table->string('password');
$table->rememberToken();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('admins');
}
}

ファイルの表示

@ -0,0 +1,39 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFathersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('fathers', function (Blueprint $table) {
$table->id();
$table->string('email');
$table->dateTime('email_verified_at')->nullable();
$table->string('password')->nullable();
$table->string('last_name')->nullable();
$table->string('first_name')->nullable();
$table->string('image')->nullable();
$table->string('profile')->nullable();
$table->rememberToken();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('fathers');
}
}

ファイルの表示

@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateEmailActivationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('email_activations', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('father_id');
$table->foreign('father_id')->references('id')->on('fathers');
$table->string('email');
$table->string('token');
$table->dateTime('ttl');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('email_activations');
}
}

ファイルの表示

@ -0,0 +1,39 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateChildrenTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('children', function (Blueprint $table) {
$table->id();
$table->string('email')->nullable();
$table->string('tel');
$table->dateTime('tel_verified_at')->nullable();
$table->string('last_name')->nullable();
$table->string('first_name')->nullable();
$table->string('img')->nullable();
$table->string('company')->nullable();
$table->rememberToken();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('children');
}
}

ファイルの表示

@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTelActivationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tel_activations', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('child_id');
$table->foreign('child_id')->references('id')->on('children');
$table->string('tel');
$table->string('token');
$table->dateTime('ttl');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('tel_activations');
}
}

ファイルの表示

@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateFatherRelationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('father_relations', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('father_id');
$table->foreign('father_id')->references('id')->on('fathers');
$table->unsignedBigInteger('child_id');
$table->foreign('child_id')->references('id')->on('children');
$table->dateTime('hire_at')->useCurrent();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('father_relations');
}
}

ファイルの表示

@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMeetingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('meetings', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('father_id');
$table->foreign('father_id')->references('id')->on('fathers');
$table->string('title');
$table->string('text');
$table->string('pdf')->nullable();
$table->integer('is_favorite')->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('meetings');
}
}

ファイルの表示

@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMeetingImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('meeting_images', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('meeting_id');
$table->foreign('meeting_id')->references('id')->on('meetings');
$table->string('image');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('meeting_images');
}
}

ファイルの表示

@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMeetingChildrenTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('meeting_children', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('child_id');
$table->foreign('child_id')->references('id')->on('children');
$table->unsignedBigInteger('meeting_id');
$table->foreign('meeting_id')->references('id')->on('meetings');
$table->dateTime('approval_at')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('meeting_children');
}
}

ファイルの表示

@ -0,0 +1,19 @@
<?php
namespace Database\Seeders;
use App\Models\Admin;
use Illuminate\Database\Seeder;
class AdminsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\Admin::factory()->count(10)->create();
}
}

ファイルの表示

@ -0,0 +1,19 @@
<?php
namespace Database\Seeders;
use App\Models\Child;
use Illuminate\Database\Seeder;
class ChildrenTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\Child::factory()->count(10)->create();
}
}

ファイルの表示

@ -13,8 +13,23 @@ class DatabaseSeeder extends Seeder
*/
public function run()
{
// \App\Models\User::factory(10)->create();
$this->call(FathersSeeder::class);
$this->call(FatherRelationsSeeder::class);
$this->call
(AdminsTableSeeder::class);
$this->call
(FathersTableSeeder::class);
$this->call
(EmailActivationsTableSeeder::class);
$this->call
(ChildrenTableSeeder::class);
$this->call
(TelActivationsTableSeeder::class);
$this->call
(FatherRelationsTableSeeder::class);
$this->call
(MeetingsTableSeeder::class);
$this->call
(MeetingImagesTableSeeder::class);
$this->call
(MeetingChildrenTableSeeder::class);
}
}

ファイルの表示

@ -0,0 +1,19 @@
<?php
namespace Database\Seeders;
use App\Models\EmailActivations;
use Illuminate\Database\Seeder;
class EmailActivationsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\EmailActivation::factory()->count(10)->create();
}
}

ファイルの表示

@ -0,0 +1,19 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\FatherRelation;
class FatherRelationsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\FatherRelation::factory()->count(10)->create();
}
}

ファイルの表示

@ -0,0 +1,19 @@
<?php
namespace Database\Seeders;
use App\Models\Father;
use Illuminate\Database\Seeder;
class FathersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\Father::factory()->count(10)->create();
}
}

ファイルの表示

@ -0,0 +1,19 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\MeetingChild;
class MeetingChildrenTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\MeetingChild::factory()->count(10)->create();
}
}

ファイルの表示

@ -0,0 +1,19 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\MeetingImage;
class MeetingImagesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\MeetingImage::factory()->count(10)->create();
}
}

ファイルの表示

@ -0,0 +1,19 @@
<?php
namespace Database\Seeders;
use App\Models\Meeting;
use Illuminate\Database\Seeder;
class MeetingsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\Meeting::factory()->count(10)->create();
}
}

ファイルの表示

@ -0,0 +1,19 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\TelActivation;
class TelActivationsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\Models\TelActivation::factory()->count(10)->create();
}
}