[OSM-dev] Error when running rake db:migrate

Dan Karran dan at karran.net
Thu Aug 2 23:18:42 BST 2007


I'm trying to update my dev sandbox to the latest db schema but I'm
getting errors in the 002 update to do with duplicate primary ids
being defined... am I doing something wrong, or missed a step
somewhere?

-- add_primary_key("current_nodes", ["id"])
rake aborted!
Mysql::Error: Multiple primary key defined: ALTER TABLE current_nodes
ADD PRIMARY KEY (`id`)


Cheers,
Dan

-- 
Dan Karran
dan at karran.net
www.dankarran.com




More information about the dev mailing list