Sha256: 59932bc60c244611fae6784edf89970bb045ad06228e371334fe7730dfb9caf0

Contents?: true

Size: 295 Bytes

Versions: 2

Compression:

Stored size: 295 Bytes

Contents

class CreatePhysicalRoadConditionnalCosts < ActiveRecord::Migration
  def up
    create_table :physical_road_conditionnal_costs do |t|
      t.belongs_to :physical_road
      t.float :cost
      t.string :tags
    end
  end

  def down
    drop_table :physical_road_conditionnal_costs
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_road-0.0.3 db/migrate/20121011124923_create_physical_road_conditionnal_costs.rb
active_road-0.0.2 db/migrate/20121011124923_create_physical_road_conditionnal_costs.rb