更新时间:2023-11-17 17:55:34
检查您的迁移文件,也许您正在使用Schema :: table,如下所示:
Check your migration file, maybe you are using Schema::table, like this:
Schema::table('table_name', function ($table) {
// ...
});
如果要创建新表,则必须使用Schema :: create:
If you want to create a new table you must use Schema::create:
Schema::create('table_name', function ($table) {
// ...
});
Laracast 更多信息,请参见此链接.
Laracast More information in this link.