[OSM-dev] RAILS - rake db:migrate
Dan Moore
writetodan at yahoo.com
Thu May 17 16:16:59 BST 2007
hi,
my rails setup on dev seemed to drop a load of way segments, i think this is caused by 'rake db:migrate' making 'id' of current_way_segments the primary key. i think this primary key is necessary for rails/activerecord, but for the osm db 'id' in this means the way id, and hence should be non-unique - this leads to only one segment per way being available. how should this be correctly setup in 0.4?
cheers, dan.
____________________________________________________________________________________Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
More information about the dev
mailing list