diff options
| author | Zog | 2018-01-29 16:25:08 +0100 |
|---|---|---|
| committer | cedricnjanga | 2018-02-06 11:10:18 -0800 |
| commit | 47520607ee5a91fbba206aff4e72dd25293e1541 (patch) | |
| tree | 803942f2337c581f3b663146922c57c38200d9ea /db | |
| parent | 3c4e0b97d2c2502412817b5c99989f98821fc207 (diff) | |
| download | chouette-core-47520607ee5a91fbba206aff4e72dd25293e1541.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 b696cfc98..51cb44d17 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -791,6 +791,7 @@ ActiveRecord::Schema.define(version: 20180126134944) 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 |
