mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Added possibility to import categories and footprints
This commit is contained in:
parent
fce32e70b9
commit
34aefd32e8
2 changed files with 145 additions and 1 deletions
|
@ -91,6 +91,14 @@ class ImportPartKeeprCommand extends Command
|
|||
$io->info('Importing manufacturers...');
|
||||
$count = $this->importer->importManufacturers($data);
|
||||
$io->success('Imported '.$count.' manufacturers.');
|
||||
|
||||
$io->info('Importing categories...');
|
||||
$count = $this->importer->importCategories($data);
|
||||
$io->success('Imported '.$count.' categories.');
|
||||
|
||||
$io->info('Importing Footprints...');
|
||||
$count = $this->importer->importFootprints($data);
|
||||
$io->success('Imported '.$count.' footprints.');
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue