From 9bdf500359b382b450615ea56842c8bb1043b778 Mon Sep 17 00:00:00 2001 From: Gogs Date: Wed, 16 Jun 2021 22:07:08 +0200 Subject: [PATCH] Switch fields --- models/aircraft/columns.yaml | 96 ++++++++++---------- models/aircrafttype/columns.yaml | 146 +++++++++++++++---------------- 2 files changed, 121 insertions(+), 121 deletions(-) diff --git a/models/aircraft/columns.yaml b/models/aircraft/columns.yaml index 1188edf..91efd0a 100644 --- a/models/aircraft/columns.yaml +++ b/models/aircraft/columns.yaml @@ -1,49 +1,49 @@ columns: - id: - label: id - type: text - aircraft_type_id: - label: aircraft_type_id - type: text - home_airport_id: - label: home_airport_id - type: text - airport_id: - label: airport_id - type: text - name: - label: name - type: text - registration: - label: registration - type: text - in_use: - label: in_use - type: text - total_miles: - label: total_miles - type: text - total_fuel: - label: total_fuel - type: text - total_flight_time: - label: total_flight_time - type: text - total_expenses: - label: total_expenses - type: text - current_check: - label: current_check - type: text - last_a_check: - label: last_a_check - type: text - last_b_check: - label: last_b_check - type: text - last_c_check: - label: last_c_check - type: text - last_d_check: - label: last_d_check - type: text + id: + label: id + type: text + aircraft_type_id: + label: aircraft_type_id + type: text + home_airport_id: + label: home_airport_id + type: text + airport_id: + label: airport_id + type: text + name: + label: name + type: text + registration: + label: registration + type: text + in_use: + label: in_use + type: switch + total_miles: + label: total_miles + type: text + total_fuel: + label: total_fuel + type: text + total_flight_time: + label: total_flight_time + type: text + total_expenses: + label: total_expenses + type: text + current_check: + label: current_check + type: text + last_a_check: + label: last_a_check + type: text + last_b_check: + label: last_b_check + type: text + last_c_check: + label: last_c_check + type: text + last_d_check: + label: last_d_check + type: text diff --git a/models/aircrafttype/columns.yaml b/models/aircrafttype/columns.yaml index 2e14455..efef393 100644 --- a/models/aircrafttype/columns.yaml +++ b/models/aircrafttype/columns.yaml @@ -1,74 +1,74 @@ columns: - id: - label: id - type: text - aircraft_manufacturer: - label: aircraft_manufacturer - relation: aircraft_manufacturer - type: text - valueFrom: name - typerating: - label: typerating - relation: typerating - type: text - valueFrom: name - only_charter: - label: only_charter - type: text - type: - label: type - type: text - description: - label: description - type: text - simbrief_type: - label: simbrief_type - type: text - wingspan: - label: wingspan - type: text - length: - label: length - type: text - cruise_speed: - label: cruise_speed - type: text - range: - label: range - type: text - engines: - label: engines - type: text - dom: - label: dom - type: number - mpld: - label: mpld - type: number - mzfm: - label: mzfm - type: number - fuel_capacity: - label: fuel_capacity - type: number - mtom: - label: mtom - type: number - mlam: - label: mlam - type: number - max_fl: - label: max_fl - type: number - capacity_flight_crew: - label: capacity_flight_crew - type: number - capacity_cabin_crew: - label: capacity_cabin_crew - type: number - capacity_passengers: - label: capacity_passengers - type: number - capacity_cargo: - label: capacity_cargo - type: number + id: + label: id + type: text + aircraft_manufacturer: + label: aircraft_manufacturer + relation: aircraft_manufacturer + type: text + valueFrom: name + typerating: + label: typerating + relation: typerating + type: text + valueFrom: name + only_charter: + label: only_charter + type: switch + type: + label: type + type: text + description: + label: description + type: text + simbrief_type: + label: simbrief_type + type: text + wingspan: + label: wingspan + type: text + length: + label: length + type: text + cruise_speed: + label: cruise_speed + type: text + range: + label: range + type: text + engines: + label: engines + type: text + dom: + label: dom + type: number + mpld: + label: mpld + type: number + mzfm: + label: mzfm + type: number + fuel_capacity: + label: fuel_capacity + type: number + mtom: + label: mtom + type: number + mlam: + label: mlam + type: number + max_fl: + label: max_fl + type: number + capacity_flight_crew: + label: capacity_flight_crew + type: number + capacity_cabin_crew: + label: capacity_cabin_crew + type: number + capacity_passengers: + label: capacity_passengers + type: number + capacity_cargo: + label: capacity_cargo + type: number