且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到类别"Illuminate \ Support \ facades \ Schema"

更新时间:2023-11-17 17:24:28

OMG我遵循下面带标记的问题的答案,并将using语句替换为

OMG I follow the marked answer of question below and replace the using statement with

use Schema;

,错误消失了.但是我仍然不知道为什么它在本地运行良好,只会在服务器上导致错误.

and the error gone. But I still don't know why it works well on local and only cause error on server.

在发光"类中找不到方法创建" \ Support \ Facades \ Schema