的productTable基表或視圖未找到錯誤
public function up()
{
Schema::create('product', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('description');
$table->string('type');
$table->integer('size');
$table->integer('price');
$table->string('image')->nullable();
$table->timestamps();
});
}
當我點擊提交,我得到了錯誤,說基礎表中找不到
基於控制器代碼,我可以說你傳遞視圖名稱'Success'可能是錯誤的給定。 如果這不起作用的解決方案,請提供您的模型+驗證(如果已執行)深挖的詳細信息。 –