Fix database seedings with new model namespace
This commit is contained in:
parent
4623c13c79
commit
a329b05d53
11 changed files with 40 additions and 32 deletions
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
|
||||
use App\Models\Bookmark;
|
||||
use Faker\Generator as Faker;
|
||||
|
||||
$factory->define(App\Bookmark::class, function (Faker $faker) {
|
||||
$factory->define(Bookmark::class, function (Faker $faker) {
|
||||
return [
|
||||
'url' => $faker->url,
|
||||
'name' => $faker->sentence,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue