Skip to content

Instantly share code, notes, and snippets.

@bensonk
Created October 4, 2011 22:49
Show Gist options
  • Select an option

  • Save bensonk/1263084 to your computer and use it in GitHub Desktop.

Select an option

Save bensonk/1263084 to your computer and use it in GitHub Desktop.
add_index "locations", ["accuracy"], :name => "index_locations_on_accuracy"
add_index "locations", ["altitude"], :name => "index_locations_on_altitude"
add_index "locations", ["latitude"], :name => "index_locations_on_latitude"
add_index "locations", ["longitude"], :name => "index_locations_on_longitude"
add_index "locations", ["recorded_at"], :name => "index_locations_on_recorded_at"
add_index "locations", ["user_id"], :name => "index_locations_on_user_id"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment