How to solve this problem?
error:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'softwareproject.o_r_f_o_l_s' doesn't exist (SQL: insert into `o_r_f_o_l_s` (`region`, `user_id`, `updated_at`, `created_at`) values (4165dsF, 3, 2018-09-06 20:33:58, 2018-09-06 20:33:58))
my migration:
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateORFOLsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('o_r_f_o_ls', function (Blueprint $table) {
$table->increments('ORFOLId');
$table->string('region');
$table->integer('user_id')->unsigned();
$table->foreign('user_id')->references('userId')->on('all_users');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('o_r_f_o_ls');
}
}