[Rails] AR - Migrations - how to use a varchar as primary key
instead of int ?
Thibaut Barrère
thibaut.barrere at gmail.com
Sun Mar 12 22:02:00 GMT 2006
Hi
I'd like to have a varchar primary key named id instead of the default int
id. Does anyone knows how to specify this from migrations ?
Should I also specify something in the model class ?
thanks!
Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060312/797bca4b/attachment.html
More information about the Rails
mailing list