|
|
@@ -84,7 +84,8 @@ class UpgradePaliText extends Command
|
|
|
Log::error( "can not open csv file. filename=" . $csvFile) ;
|
|
|
continue;
|
|
|
}
|
|
|
- $title_data = PaliText::where('book',$from)->orderby('paragraph','asc')->get();
|
|
|
+ $title_data = PaliText::select(['book','paragraph','level','parent','toc'])
|
|
|
+ ->where('book',$from)->orderby('paragraph','asc')->get();
|
|
|
{
|
|
|
$paragraph_count = count($title_data);
|
|
|
$paragraph_info = array();
|