Skip to content

Commit

Permalink
Fix AircraftImporter
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurpar06 committed Feb 14, 2024
1 parent 284dc77 commit ad2d5d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Filament/Imports/AircraftImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@ public static function getColumns(): array
return [
ImportColumn::make('subfleet')
->relationship(resolveUsing: 'type')
->rules(['required'])
->requiredMapping(),

ImportColumn::make('iata'),
ImportColumn::make('icao'),
ImportColumn::make('hub_id'),
ImportColumn::make('airport_id'),
ImportColumn::make('name')
->rules(['required'])
->requiredMapping(),

ImportColumn::make('registration')
->rules(['required'])
->requiredMapping(),

ImportColumn::make('fin'),
Expand Down

0 comments on commit ad2d5d7

Please sign in to comment.