diff options
| author | Robert | 2018-01-10 08:30:54 +0100 |
|---|---|---|
| committer | Alban Peignier | 2018-01-10 17:47:10 +0100 |
| commit | 547871444fa4e0958566fcd28030fb39ae8117f1 (patch) | |
| tree | 83a47d69ee918fdf0e3627498b4cb21ccf68aa15 /db/migrate | |
| parent | ab6a4624b7adeb3f4304eec65f4b42cdcc27b0dc (diff) | |
| download | chouette-core-547871444fa4e0958566fcd28030fb39ae8117f1.tar.bz2 | |
Fixes: #5505@0.25h; Invesitgating the failure to compute a distinct join on vehicle_journeys
Solution: custom_field_values: json -> jsonb
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20180110071946_change_custom_fields_from_json_to_text_in_vehicle_journeys.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
