fix: 安装数据库初始化失败

This commit is contained in:
kuaifan 2022-09-06 16:04:22 +08:00
parent 8c1cea6e6e
commit eb6fa0cf63

View File

@ -330,7 +330,7 @@ class FilesTableSeeder extends Seeder
File::where('pid', '>', 0)->chunkById(100, function ($lists) { File::where('pid', '>', 0)->chunkById(100, function ($lists) {
/** @var File $item */ /** @var File $item */
foreach ($lists as $item) { foreach ($lists as $item) {
$item->saveBeforePids(); $item->saveBeforePP();
} }
}); });
} }