I have just cloned a Laravel project. I tried to run composer install and php artisan migrate but both return this error
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
In Connection.php line 664:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'name.system_functions' doesn't exist (SQL: select * from
system_functions
wherename
= test limit 1)In Connection.php line 326:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'name.system_f
unctions' doesn't exist
I use MySQL and Sequel Pro has already created database for this project.
Schema::create('system_functions', function (Blueprint $table) {
$table->increments('id');
$table->string('name',64);
$table->integer('group_id')->unsigned();
$table->boolean('is_active');
$table->timestamps();
});
Data in this table is created by database seeding. I have tried php artisan db:seed will return this error too.
php artisan config:clear
then run again – sta