diff options
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 |
