1
0
mirror of https://github.com/ToxicCrack/PrintABrick.git synced 2025-05-16 12:20:09 -07:00

Update RebrickableLoader.php

Added material_id to table rebrickable_part
This commit is contained in:
Daniel 2020-03-19 17:21:42 +01:00 committed by GitHub
parent 0255e0b71d
commit a3924ed3ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,7 @@ class RebrickableLoader extends BaseLoader
private function loadPartTable($csv)
{
return $this->loadCsvFile($csv, 'rebrickable_part', '(`id`,`name`,`category_id`)');
return $this->loadCsvFile($csv, 'rebrickable_part', '(`id`,`name`,`category_id`,`material_id`)');
}
private function loadCategoryTable($csv)