aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorZog2018-03-13 10:41:48 +0100
committerJohan Van Ryseghem2018-04-04 11:10:39 +0200
commitd034376737c27e48a7a3413b82461a65999ee105 (patch)
treec657811ee569ce1f2487c07f921fdae3382eb726 /db
parenta77307ca49c57dc18823f6aece2424ccb3c5a7c2 (diff)
downloadchouette-core-d034376737c27e48a7a3413b82461a65999ee105.tar.bz2
Refs #6090; CustomFields inputs made easy
:warning: We'll have to refine this code once StopArea are linked to workgroups
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180313082623_add_custom_field_values_to_stop_areas.rb5
1 files changed, 5 insertions, 0 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
new file mode 100644
index 000000000..1b901d139
--- /dev/null
+++ b/db/migrate/20180313082623_add_custom_field_values_to_stop_areas.rb
@@ -0,0 +1,5 @@
+class AddCustomFieldValuesToStopAreas < ActiveRecord::Migration
+ def change
+ add_column :stop_areas, :custom_field_values, :json
+ end
+end