Sha256: 94906b58dbe7586d2cd389320e699733f0a60eee981cb65f42697e4c782d072c
Contents?: true
Size: 500 Bytes
Versions: 11
Compression:
Stored size: 500 Bytes
Contents
FlightPropulsion.class_eval do data_miner do schema do string 'name' string 'bts_aircraft_group_code' end process "derive from flight segments" do FlightSegment.run_data_miner! connection.execute %{ INSERT IGNORE INTO flight_propulsions(name, bts_aircraft_group_code) SELECT flight_segments.propulsion_id, flight_segments.bts_aircraft_group_code FROM flight_segments WHERE LENGTH(flight_segments.propulsion_id) > 0 } end end end
Version data entries
11 entries across 11 versions & 2 rubygems