Fix database seedings with new model namespace

This commit is contained in:
Jonny Barnes 2017-12-22 14:28:41 +00:00
parent 4623c13c79
commit a329b05d53
11 changed files with 40 additions and 32 deletions

View file

@ -1,8 +1,9 @@
<?php
use App\Models\Like;
use Faker\Generator as Faker;
$factory->define(App\Like::class, function (Faker $faker) {
$factory->define(Like::class, function (Faker $faker) {
return [
'url' => $faker->url,
'author_name' => $faker->name,