Conor Nugent wrote:
> David Kahn wrote:
>> Conor,
>> I think this is relevant - I had similar issue when I was saving reports 
>> to
>> a db field. To work around, I changed the datatype of the field to
>> :longtext. You can create or change the field to :longtext in your 
>> migration
>> and everyone should be happy.
> 
> Hi David,
> 
> 
> Thanks a million for your reply.  I will give that a go. I had seen that 
> that is possible but I was a bit worried that it would mean that my 
> migrations wouldn't be database agnostic

Is there a reason that you're not using VARCHAR?  That should hold the 
data (in less space, I believe!) and keep your migrations DB-agnostic.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to