source: database/seeders/DepartmentsTableSeeder.php@ 6b95845

develop
Last change on this file since 6b95845 was ea7b12a, checked in by beratkjufliju <kufliju@…>, 3 years ago

added files crud in table

  • Property mode set to 100644
File size: 326 bytes
RevLine 
[194a359]1<?php
2
3namespace Database\Seeders;
4
[24a616f]5use App\Models\Department;
[194a359]6use Carbon\Carbon;
7use Illuminate\Database\Seeder;
8
9class DepartmentsTableSeeder extends Seeder
10{
11 /**
12 * Run the database seeds.
13 *
14 * @return void
15 */
16 public function run()
17 {
[ea7b12a]18 Department::factory()->count(8)->create();
[194a359]19 }
20}
Note: See TracBrowser for help on using the repository browser.