このリポジトリは2023-09-09にアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュ、イシューの作成、プルリクエストはできません。
2021-08-03 15:34:15 +09:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Seeders;
|
|
|
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
2021-12-25 01:36:53 +09:00
|
|
|
class DatabaseSeeder extends Seeder {
|
2021-08-03 15:34:15 +09:00
|
|
|
/**
|
|
|
|
* Seed the application's database.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2021-12-25 01:36:53 +09:00
|
|
|
public function run () {
|
|
|
|
$this->call(AdminsTableSeeder::class);
|
2021-12-28 11:40:08 +09:00
|
|
|
|
|
|
|
if (env('APP_DEBUG') == true) {
|
|
|
|
$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(MeetingApprovalsSeeder::class);
|
|
|
|
$this->call(LoginLimitsSeeder::class);
|
|
|
|
$this->call(ContactsSeeder::class);
|
|
|
|
$this->call(SmssSeeder::class);
|
|
|
|
}
|
2021-08-03 15:34:15 +09:00
|
|
|
}
|
|
|
|
}
|