VANHIEP.NET - Làm web giá rẻ - Thiết Kế Website - Thiết Kế Ứng Dụng Mobile

Laravel chạy migrations error : SQLSTATE[42S02]: Base table or view not found: 1146 Table

Laravel chạy migrations error : SQLSTATE[42S02]: Base table or view not found: 1146 Table

Cách khắc phục. Mở file migrations sửa

 

   Schema::table('voucher_renew_expired_histories', function (Blueprint $table) {
            //
        });

Thành

 

   Schema::create('voucher_renew_expired_histories', function (Blueprint $table) {
            //
        });

Chúc bạn thành công.