Sha256: 68f8b88b1b024dc70c4db441543a838b64b4f72d158b11f8f8f056ca571cee76

Contents?: true

Size: 234 Bytes

Versions: 2

Compression:

Stored size: 234 Bytes

Contents

class ChangeTagsTypeForPhysicalRoad < ActiveRecord::Migration
  def up
    remove_column :physical_roads, :tags
    add_column :physical_roads, :tags, :hstore
  end

  def down
    add_column :physical_roads, :tags, :string
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_road-0.0.3 db/migrate/20130509075631_change_tags_type_for_physical_road.rb
active_road-0.0.2 db/migrate/20130509075631_change_tags_type_for_physical_road.rb