set the primary key in case the db doesn't have it set
fixes rubygems/rubygems-aws#69