...
This commit is contained in:
parent
a9e7afd13a
commit
ba3de1ae99
31 changed files with 329 additions and 5 deletions
|
|
@ -0,0 +1,23 @@
|
|||
For creating dummy data
|
||||
|
||||
Seeder files go into app/Database/Seeds
|
||||
|
||||
```bash
|
||||
php spark make:seeder Student --suffix
|
||||
```
|
||||
|
||||
fill run method
|
||||
|
||||
![[Pasted image 20241113085432.png]]
|
||||
|
||||
Run seeder file
|
||||
|
||||
```bash
|
||||
php spark db:seed StudentSeeder
|
||||
```
|
||||
|
||||
Mass dummy data using Factory / Faker
|
||||
|
||||
![[Pasted image 20241113085948.png]]
|
||||
|
||||
![[Pasted image 20241113090300.png]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue