Sha256: f8775956c372acf7d44736c6eb4eeeefb3f5fd067717889745a8e21d9f45ee95

Contents?: true

Size: 274 Bytes

Versions: 2

Compression:

Stored size: 274 Bytes

Contents

class CreateJunctionConditionnalCosts < ActiveRoad::Migration
  def up
    create_table :junction_conditionnal_costs do |t|
      t.belongs_to :junction
      t.float :cost
      t.string :tags
    end
  end

  def down
    drop_table :junction_conditionnal_costs
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_road-0.0.3 db/migrate/20121010125851_create_junction_conditionnal_costs.rb
active_road-0.0.2 db/migrate/20121010125851_create_junction_conditionnal_costs.rb