You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/database/seeders/InvoiceSeeder.php

17 lines
274 B
PHP

<?php
use Illuminate\Database\Seeder;
class InvoiceSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(\App\Invoice::class,10)->state(\App\Invoice::COMPLETED)->create();
}
}