Sha256: 8b191457ffd34dd37388412df1516dd4d1247c7d3a6f2fd0e87914002219a6fe
Contents?: true
Size: 1.21 KB
Versions: 23
Compression:
Stored size: 1.21 KB
Contents
class CreateChouetteVehicleJourney < ActiveRecord::Migration def up create_table :vehicle_journeys, :force => true do |t| t.integer "route_id", :limit => 8 t.integer "journey_pattern_id", :limit => 8 t.integer "time_slot_id", :limit => 8 t.integer "company_id", :limit => 8 t.string "objectid", :null => false t.integer "object_version" t.datetime "creation_time" t.string "creator_id" t.string "comment" t.string "status_value" t.string "transport_mode" t.string "published_journey_name" t.string "published_journey_identifier" t.string "facility" t.string "vehicle_type_identifier" # TODO: delete this column that are here just for chouette-command compliance t.integer "number" end add_index "vehicle_journeys", ["objectid"], :name => "vehicle_journeys_objectid_key", :unique => true add_index "vehicle_journeys", ["route_id"], :name => "index_vehicle_journeys_on_route_id" end def down remove_index "vehicle_journeys", :name => "vehicle_journeys_objectid_key" remove_index "vehicle_journeys", :name => "index_vehicle_journeys_on_route_id" drop_table :vehicle_journeys end end
Version data entries
23 entries across 23 versions & 1 rubygems