[OSM-dev] RAILS - rake db:migrate
writetodan at yahoo.com
Thu May 17 16:16:59 BST 2007
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?
____________________________________________________________________________________Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
More information about the dev