On Sep 4, 8:07 pm, Scott LaBounty <[email protected]> wrote:
> I'm having trouble adding a Boolean column to a sqlite database. Here's what
> I have:
>
>     def up
>         alter_table(:deployments) do
>             add_column :fixed_date, Boolean
>         end
>     end
>
> It looks like (and I remember Jeremy saying this) that Sequel wants a Ruby
> type where Boolean is in the above code. Since Ruby doesn't have a Boolean
> type, I'm not sure what I should put in there or how to rearrange the code
> to get what I need.

Either TrueClass or FalseClass works.

Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-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/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to