aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorZog2018-01-29 08:45:02 +0100
committercedricnjanga2018-02-06 11:04:27 -0800
commita41d3b5e861929a75c6de23150d066ba366bb577 (patch)
treee5a94656cb037b6b8a0157d53c3e1e8760374081 /db
parent857e2f2319594f61436c2f2245136c303452d934 (diff)
downloadchouette-core-a41d3b5e861929a75c6de23150d066ba366bb577.tar.bz2
Refs #5750 @1h; Manage non-commercial StopAreas
- Add a `kind` attribute - Hide irrelevant fields in the form
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180126134944_add_kind_to_stop_areas.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20180126134944_add_kind_to_stop_areas.rb b/db/migrate/20180126134944_add_kind_to_stop_areas.rb
index 3a4f0a0c8..7da227cd9 100644
--- a/db/migrate/20180126134944_add_kind_to_stop_areas.rb
+++ b/db/migrate/20180126134944_add_kind_to_stop_areas.rb
@@ -1,5 +1,6 @@
class AddKindToStopAreas < ActiveRecord::Migration
def change
add_column :stop_areas, :kind, :string
+ Chouette::StopArea.update_all kind: :commmercial
end
end