php - seeding table not sucess in Laravel 7 and Laratrust 6
Get the solution ↓↓↓using Laravel 7 and Laratrust 6 and need seeding the Table using the seed command but seeding only some tables only. not seeding following tables as well in the databaseusers,role_user,permission_user
my DataBaseSeeder.php
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
public function run()
{
$this->call(LaratrustSeeder::class);
}
}
how could I fix this problem?
Answer
Solution:
add -> namespace Database\Seeders; in LaratrustSeeder.php in seeder folder
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: the requested url was not found on this server. xampp
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.