I have a trouble with laravel i don't know where i have problem, when i try to logout actual user i get the throw name :
"Call to undefined method Illuminate\Database\Eloquent\Builder::pullCache()"
I paste the schema:
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->string('avatar');
$table->rememberToken();
$table->timestamps();
});
And the photos schema:
Schema::create('photos', function (Blueprint $table) {
$table->increments('id');
$table->integer('user_id')->unsigned();
$table->string('title');
$table->string('desc');
$table->string('uri');
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
$table->timestamps();
});
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire