mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 19:23:26 +00:00
fix: 安装数据库初始化失败
This commit is contained in:
parent
8c1cea6e6e
commit
eb6fa0cf63
@ -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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user