On Oct 29, 1:18 pm, Foon <[email protected]> wrote:
> Back to MySQL Query Browser to check my database and it appears that
> running my tests changed my column datatype from unsigned bigint to
> signed bigint !?
>
> Has anyone ever heard of such a behaviour ? What is it due to and how
> could I finally use unsigned bigint in my app and its tests ?

I imagine it is because of the ruby schema dumper not handling bigints
properly. Have you tried setting the schema dumper to :sql (in
environment.rb) ?


Fred
>
> I tried to persist values as big as 2^64 - 1 through the "ruby script/
> console" utility on my development database and it works as a charm.
> Which is good news but confuses me even more...
>
> Thanks for your help
--~--~---------~--~----~------------~-------~--~----~
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