mirror of
https://gh.wpcy.net/https://github.com/rilustrisimo/freescout-support.git
synced 2026-04-29 14:32:36 +08:00
19 lines
416 B
PHP
19 lines
416 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class CustomersTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
factory(App\Customer::class, 5)->create()->each(function ($m) {
|
|
$m->emails()->save(factory(App\Email::class)->make());
|
|
$m->emails()->save(factory(App\Email::class)->make());
|
|
});
|
|
}
|
|
}
|