From: Robert Klemme Date: 2008-06-25T02:03:15+09:00 Subject: Re: Sequel primary keys On 24.06.2008 18:01, Glen Holcomb wrote: > I posted to the Sequel Google Group but it's horribly slow, assuming it took > my post. > > Does anyone on here know if it is possible to create a non-integer primary > key in Sequel? If so how? Also help with creating a non integer foreign > key would be great too. I've done some poking through the Rdoc and some > experimentation and it wants to make everything :integer or AUTOINCREMENT. The docs seem to indicate that you can use arbitrary PK's: http://sequel.rubyforge.org/classes/Sequel/Schema/Generator.html#M000257 So, if int is enforced there is a bug - either in your code or in Sequel's code. Kind regards robert