diff options
| author | Teddy Wing | 2018-03-13 12:12:27 +0100 |
|---|---|---|
| committer | Teddy Wing | 2018-03-14 16:42:02 +0100 |
| commit | 12034eaab5b9effe8cfc432c27af4e203f30102b (patch) | |
| tree | c2763da19ec8bb1e41d9ae6fe3755cd4fa30a35c /db/migrate | |
| parent | 11894d94b6698590a9ddb37729fdd90ea081159d (diff) | |
| download | chouette-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/migrate')
| -rw-r--r-- | db/migrate/20180313110900_add_costs_to_routes.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20180313110900_add_costs_to_routes.rb b/db/migrate/20180313110900_add_costs_to_routes.rb new file mode 100644 index 000000000..d47e86cf0 --- /dev/null +++ b/db/migrate/20180313110900_add_costs_to_routes.rb @@ -0,0 +1,5 @@ +class AddCostsToRoutes < ActiveRecord::Migration + def change + add_column :routes, :costs, :json + end +end |
