[openstreetmap-website] PG::Error: ERROR when running migrations (#47)

idontusegithub reply+i-4429253-8d62c0276147fc5792285c54358d1c0b25830750-1419053 at reply.github.com
Fri May 4 19:58:12 BST 2012

==  AddMoreChangesetIndexes: migrating ========================================
-- add_index("changesets", ["created_at"], {:name=>"changesets_created_at_idx"})
   -> 0.0017s
-- add_index("changesets", ["closed_at"], {:name=>"changesets_closed_at_idx"})
   -> 0.0015s
-- add_index("changesets", ["min_lat", "max_lat", "min_lon", "max_lon"], {:name=>"changesets_bbox_idx", :method=>"GIST"})
rake aborted!
An error has occurred, this and all later migrations canceled:

PG::Error: ERROR:  data type integer has no default operator class for access method "gist"
HINT:  You must specify an operator class for the index or define a default operator class for the data type.
: CREATE  INDEX "changesets_bbox_idx" ON "changesets" USING GIST ("min_lat", "max_lat", "min_lon", "max_lon")

Tasks: TOP => db:migrate
(See full trace by running task with --trace)

Reply to this email directly or view it on GitHub:

More information about the rails-dev mailing list