Support the ongoing development of Laravel.io →
Database
Last updated 1 year ago.
0

Run composer dump-auto command and check

0

it's not work. same problem

0

Post your PostTable class

0
<?php namespace App; use Illuminate\Database\Eloquent\Model; class PostTable extends Model { // }
Last updated 7 years ago.
0

Is that the full error? I can't test at the moment, but what happens if you reference App rather than app

Try:

use \App\PostTable;
0

Thank you sir. It's working now.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.