|
Re: Table Definition - Better binary support w/MySQL: msg#00226lang.ruby.rails.core
On 9/27/06, DHH <david.heinemeier@xxxxxxxxx> wrote: > > > However, when using :binary, limits of under 255 get tinyblob, then > > switch over to blob. What I would propose is that with the :binary > > type, when limits are specified, VARBINARY (equivalent to VARCHAR) > > should be used, as it saves space, and is the most appropriate type. > > Sounds fine by me. Has varbinary always been around? It's been around since at least 3.23[1]. -ryan [1]: http://dev.mysql.com/doc/refman/4.1/en/binary-varbinary.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/rubyonrails-core -~----------~----~----~----~------~----~------~--~---
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ActiveSupport::Multibyte for better Unicode support, Pete Yandell |
|---|---|
| Next by Date: | Re: ActiveSupport::Multibyte for better Unicode support, Michael Glaesemann |
| Previous by Thread: | Re: Table Definition - Better binary support w/MySQL, DHH |
| Next by Thread: | Re: Table Definition - Better binary support w/MySQL, DHH |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |