[UPDATED] Building RESTful APIs with Lumen and OAuth2
Omar El Gabry
15010

Awesome tutorial, I just got trouble inserting data with faker

I need to change in the file DatabaseSeeder.php

User::truncate();

for

App\User::truncate();

same for posts and comments and also

factory(User::class, 10)->create();

for

factory(App\User::class, 10)->create();

again same for posts and comments.

Thank you.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.