main
Last change
on this file since 6b10b67 was c454c0f, checked in by bube-ristovska <ristovska725@…>, 12 months ago |
First commit
|
-
Property mode
set to
100644
|
File size:
471 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | namespace Database\Seeders;
|
---|
4 |
|
---|
5 | // use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
---|
6 | use Illuminate\Database\Seeder;
|
---|
7 |
|
---|
8 | class DatabaseSeeder extends Seeder
|
---|
9 | {
|
---|
10 | /**
|
---|
11 | * Seed the application's database.
|
---|
12 | */
|
---|
13 | public function run(): void
|
---|
14 | {
|
---|
15 | // \App\Models\User::factory(10)->create();
|
---|
16 |
|
---|
17 | // \App\Models\User::factory()->create([
|
---|
18 | // 'name' => 'Test User',
|
---|
19 | // 'email' => 'test@example.com',
|
---|
20 | // ]);
|
---|
21 | }
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.