laravel 8

This commit is contained in:
Denis Duliçi
2020-10-14 17:07:59 +03:00
parent b4e044b199
commit 1ba8835a2d
134 changed files with 3515 additions and 1952 deletions

View File

@ -35,25 +35,25 @@ class SampleData extends Seeder
$bar->start();
factory(Contact::class, $count)->create();
Contact::factory()->count($count)->create();
$bar->advance();
factory(Category::class, $count)->create();
Category::factory()->count($count)->create();
$bar->advance();
factory(Tax::class, $small_count)->states('enabled')->create();
Tax::factory()->count($small_count)->enabled()->create();
$bar->advance();
factory(Item::class, $count)->create();
Item::factory()->count($count)->create();
$bar->advance();
factory(Account::class, $small_count)->create();
Account::factory()->count($small_count)->create();
$bar->advance();
factory(Bill::class, $count)->create();
Bill::factory()->count($count)->create();
$bar->advance();
factory(Invoice::class, $count)->create();
Invoice::factory()->count($count)->create();
$bar->advance();
$bar->finish();