Sha256: 1a29cc24ec40cb3f92cd98304c253cfcc359a0803923cf83668e7c7096b26cf5

Contents?: true

Size: 220 Bytes

Versions: 2

Compression:

Stored size: 220 Bytes

Contents

class IndexPhysicalRoadsTags < ActiveRecord::Migration
  def up
    execute "CREATE INDEX physical_roads_tags ON physical_roads USING GIN(tags)"
  end
  
  def down
    execute "DROP INDEX physical_roads_tags"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_road-0.0.3 db/migrate/20130509081745_index_physical_roads_tags.rb
active_road-0.0.2 db/migrate/20130509081745_index_physical_roads_tags.rb