add geolocation search for public channels

This commit is contained in:
Lee Lawlor
2014-08-05 15:12:41 -04:00
parent 6d2d9f2b17
commit 2125d714e6
10 changed files with 64 additions and 1 deletions

View File

@ -0,0 +1,6 @@
class AddGeolocationIndexToChannels < ActiveRecord::Migration
def change
add_index :channels, [:latitude, :longitude]
end
end