On Jul 15, 2011, at 11:44 AM, Tom Lane wrote:
> Never heard of rake before, but I'm betting that it's doing stuff
> behind your back, like including an "id" column in the table definition.
> Try looking at the table in psql (\d geo_data), or enabling query
> logging on the server so you can see what the actual CREATE TABLE
> command sent to the server looks like.
That's it. Rake is part of Ruby on Rails, and RoR wants every table to start with an integer synthetic key column.
--
Scott Ribe
scott_ribe(at)elevated-dev(dot)com
http://www.elevated-dev.com/
(303) 722-0567 voice