aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.rb
diff options
context:
space:
mode:
authorTeddy Wing2018-03-13 12:12:27 +0100
committerTeddy Wing2018-03-14 16:42:02 +0100
commit12034eaab5b9effe8cfc432c27af4e203f30102b (patch)
treec2763da19ec8bb1e41d9ae6fe3755cd4fa30a35c /db/schema.rb
parent11894d94b6698590a9ddb37729fdd90ea081159d (diff)
downloadchouette-core-12034eaab5b9effe8cfc432c27af4e203f30102b.tar.bz2
Add `costs` column to `Chouette::Route`
This allows us to store `WayCost`s for a route so we can use those values as pre-filled defaults for a `JourneyPattern`'s costs. Refs #6095
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index cf0a32a3b..cd7d66692 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,8 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20180308095116) do
+ActiveRecord::Schema.define(version: 20180313110900) do
+
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
enable_extension "postgis"
@@ -742,6 +743,7 @@ ActiveRecord::Schema.define(version: 20180308095116) do
t.string "checksum"
t.text "checksum_source"
t.string "data_source_ref"
+ t.json "costs"
end
add_index "routes", ["objectid"], name: "routes_objectid_key", unique: true, using: :btree