From 547871444fa4e0958566fcd28030fb39ae8117f1 Mon Sep 17 00:00:00 2001 From: Robert Date: Wed, 10 Jan 2018 08:30:54 +0100 Subject: Fixes: #5505@0.25h; Invesitgating the failure to compute a distinct join on vehicle_journeys Solution: custom_field_values: json -> jsonb --- ...946_change_custom_fields_from_json_to_text_in_vehicle_journeys.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20180110071946_change_custom_fields_from_json_to_text_in_vehicle_journeys.rb (limited to 'db/migrate') diff --git a/db/migrate/20180110071946_change_custom_fields_from_json_to_text_in_vehicle_journeys.rb b/db/migrate/20180110071946_change_custom_fields_from_json_to_text_in_vehicle_journeys.rb new file mode 100644 index 000000000..c43620b32 --- /dev/null +++ b/db/migrate/20180110071946_change_custom_fields_from_json_to_text_in_vehicle_journeys.rb @@ -0,0 +1,5 @@ +class ChangeCustomFieldsFromJsonToTextInVehicleJourneys < ActiveRecord::Migration + def change + change_column :vehicle_journeys, :custom_field_values, :jsonb + end +end -- cgit v1.2.3