aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorMichel Etienne2014-08-20 11:04:59 +0200
committerMichel Etienne2014-08-20 11:04:59 +0200
commit59a4755231bc3c13c93d8cd8032e729c97d9c45f (patch)
tree55dccd07d668dfe390bcfda7348fb0471d3b5a52 /db
parent3df9b80b408343045a81b4c1817f998ebd5d1a03 (diff)
downloadchouette-core-59a4755231bc3c13c93d8cd8032e729c97d9c45f.tar.bz2
add zip code and city name to stop_area and access_point , Mantis 26825
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20140820074843_add_zip_code_and_city_name_to_stop_area.ninoxe_engine.rb9
-rw-r--r--db/migrate/20140820074844_add_zip_code_and_city_name_to_access_point.ninoxe_engine.rb9
-rw-r--r--db/schema.rb6
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