更新时间:2023-11-17 18:08:52
检查你的迁移文件,也许你正在使用 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 更多信息这个链接.