diff options
| author | Zog | 2018-04-03 21:53:42 +0200 |
|---|---|---|
| committer | Johan Van Ryseghem | 2018-04-04 11:10:39 +0200 |
| commit | e709a1ddaf5686b3463d7697cd21cee3d15957f2 (patch) | |
| tree | c0f2f57124dae9b0e77dc49162d5dac1f832d3a3 /db | |
| parent | a59aa62be66340bb1ac22bad7cb980dbf1a5ffa1 (diff) | |
| download | chouette-core-e709a1ddaf5686b3463d7697cd21cee3d15957f2.tar.bz2 | |
Fix specs
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20180313082623_add_custom_field_values_to_stop_areas.rb | 2 | ||||
| -rw-r--r-- | db/schema.rb | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/db/migrate/20180313082623_add_custom_field_values_to_stop_areas.rb b/db/migrate/20180313082623_add_custom_field_values_to_stop_areas.rb index 1b901d139..e49be7e40 100644 --- a/db/migrate/20180313082623_add_custom_field_values_to_stop_areas.rb +++ b/db/migrate/20180313082623_add_custom_field_values_to_stop_areas.rb @@ -1,5 +1,5 @@ class AddCustomFieldValuesToStopAreas < ActiveRecord::Migration def change - add_column :stop_areas, :custom_field_values, :json + add_column :stop_areas, :custom_field_values, :jsonb end end diff --git a/db/schema.rb b/db/schema.rb index 77e35f449..9cf5f8319 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -841,10 +841,8 @@ ActiveRecord::Schema.define(version: 20180319043333) do t.integer "waiting_time" t.string "kind" t.jsonb "localized_names" - t.datetime "confirmed_at" - t.json "custom_field_values" - + t.jsonb "custom_field_values" end add_index "stop_areas", ["name"], name: "index_stop_areas_on_name", using: :btree |
