diff options
Diffstat (limited to 'db')
3 files changed, 23 insertions, 1 deletions
diff --git a/db/migrate/20140820074843_add_zip_code_and_city_name_to_stop_area.ninoxe_engine.rb b/db/migrate/20140820074843_add_zip_code_and_city_name_to_stop_area.ninoxe_engine.rb new file mode 100644 index 000000000..47493163a --- /dev/null +++ b/db/migrate/20140820074843_add_zip_code_and_city_name_to_stop_area.ninoxe_engine.rb @@ -0,0 +1,9 @@ +# This migration comes from ninoxe_engine (originally 20140820060801) +class AddZipCodeAndCityNameToStopArea < ActiveRecord::Migration + def change + change_table :stop_areas do |t| + t.string :zip_code + t.string :city_name + end + end +end diff --git a/db/migrate/20140820074844_add_zip_code_and_city_name_to_access_point.ninoxe_engine.rb b/db/migrate/20140820074844_add_zip_code_and_city_name_to_access_point.ninoxe_engine.rb new file mode 100644 index 000000000..628d0a1d6 --- /dev/null +++ b/db/migrate/20140820074844_add_zip_code_and_city_name_to_access_point.ninoxe_engine.rb @@ -0,0 +1,9 @@ +# This migration comes from ninoxe_engine (originally 20140820060814) +class AddZipCodeAndCityNameToAccessPoint < ActiveRecord::Migration + def change + change_table :access_points do |t| + t.string :zip_code + t.string :city_name + end + end +end diff --git a/db/schema.rb b/db/schema.rb index be5e89c97..6c45bd44a 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20140721080946) do +ActiveRecord::Schema.define(:version => 20140820074844) do create_table "access_links", :force => true do |t| t.integer "access_point_id", :limit => 8 @@ -57,6 +57,8 @@ ActiveRecord::Schema.define(:version => 20140721080946) do t.boolean "mobility_restricted_suitability" t.boolean "stairs_availability" t.integer "stop_area_id", :limit => 8 + t.string "zip_code" + t.string "city_name" end add_index "access_points", ["objectid"], :name => "access_points_objectid_key", :unique => true @@ -390,6 +392,8 @@ ActiveRecord::Schema.define(:version => 20140721080946) do t.boolean "stairs_availability" t.boolean "lift_availability" t.integer "int_user_needs" + t.string "zip_code" + t.string "city_name" end add_index "stop_areas", ["objectid"], :name => "stop_areas_objectid_key", :unique => true |
