diff options
| author | Zog | 2018-01-29 16:25:08 +0100 |
|---|---|---|
| committer | Zog | 2018-02-01 14:40:24 +0100 |
| commit | 82de76f0efce7558a3fe240edf4e2293a8788ee1 (patch) | |
| tree | 3c9c70b904d989a4b8e0d8b2d0db03314465a410 /db | |
| parent | d896ba8753f9877dfd29a97cf1310d54d0b25874 (diff) | |
| download | chouette-core-82de76f0efce7558a3fe240edf4e2293a8788ee1.tar.bz2 | |
Refs #5758 @1h; Add localized names to StopAreas
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20180129141656_add_localized_names_to_stop_areas.rb | 5 | ||||
| -rw-r--r-- | db/schema.rb | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20180129141656_add_localized_names_to_stop_areas.rb b/db/migrate/20180129141656_add_localized_names_to_stop_areas.rb new file mode 100644 index 000000000..320ce739a --- /dev/null +++ b/db/migrate/20180129141656_add_localized_names_to_stop_areas.rb @@ -0,0 +1,5 @@ +class AddLocalizedNamesToStopAreas < ActiveRecord::Migration + def change + add_column :stop_areas, :localized_names, :jsonb + end +end diff --git a/db/schema.rb b/db/schema.rb index 5356c9909..d54a40feb 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -789,6 +789,7 @@ ActiveRecord::Schema.define(version: 20180124124215) do t.string "stif_type" t.integer "waiting_time" t.string "kind" + t.jsonb "localized_names" end add_index "stop_areas", ["name"], name: "index_stop_areas_on_name", using: :btree |
