Sha256: ab00a4f4c49d524c8e410a325db43d01d32f4da0dda61c7ba286382117541c4e
Contents?: true
Size: 276 Bytes
Versions: 1
Compression:
Stored size: 276 Bytes
Contents
class AddKindToPhysicalRoads < ActiveRecord::Migration def change add_column :physical_roads, :kind, :string #ActiveRoad::PhysicalRoad.reset_column_information #ActiveRoad::PhysicalRoad.update_all :kind => "road" add_index :physical_roads, :kind end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_road-0.0.3 | db/migrate/20120419093427_add_kind_to_physical_roads.rb |