diff options
author | Frankie B <git@diskfloppy.me> | 2023-06-13 21:59:16 +0100 |
---|---|---|
committer | Frankie B <frankieraybrown@gmail.com> | 2023-06-14 22:15:44 +0100 |
commit | a464ef4c0e3ce235fb1da70dfb282449beeeac80 (patch) | |
tree | 4708f5c996376dd94f2cc49f7d16dc80eef1a4df /database/seeders | |
parent | 44db6ce1d9cfdca7e175cb74ee7d818b94571bc4 (diff) |
Initialize laravel app
Diffstat (limited to 'database/seeders')
-rw-r--r-- | database/seeders/DatabaseSeeder.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php new file mode 100644 index 0000000..a9f4519 --- /dev/null +++ b/database/seeders/DatabaseSeeder.php @@ -0,0 +1,22 @@ +<?php + +namespace Database\Seeders; + +// use Illuminate\Database\Console\Seeds\WithoutModelEvents; +use Illuminate\Database\Seeder; + +class DatabaseSeeder extends Seeder +{ + /** + * Seed the application's database. + */ + public function run(): void + { + // \App\Models\User::factory(10)->create(); + + // \App\Models\User::factory()->create([ + // 'name' => 'Test User', + // 'email' => 'test@example.com', + // ]); + } +} |