Permalink
Browse files

Add travel_time to station connections.

  • Loading branch information...
1 parent 75419f6 commit ab16e1edef968317f1cdb637640c03dcb096f7c2 @namxam namxam committed Apr 28, 2012
@@ -0,0 +1,9 @@
+class AddStationConnectionTravelTime < ActiveRecord::Migration
+ def up
+ add_column :station_connections, :travel_time, :integer
+ end
+
+ def down
+ remove_column :station_connections, :travel_time
+ end
+end
@@ -1,6 +1,5 @@
class RemoveDestinationStuffOnceAndForeva < ActiveRecord::Migration
def up
- drop_table :unmatched_destinations
drop_table :destination_lines
drop_table :destinations
drop_table :destination_stations
View
@@ -76,6 +76,7 @@
t.float "distance"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
+ t.integer "travel_time"
end
create_table "stations", :force => true do |t|
@@ -100,4 +101,5 @@
t.string "type"
t.integer "station_id"
end
+
end

0 comments on commit ab16e1e

Please sign in to comment.