Thanks Jeremy! I should have thought of that. Scott
On Fri, Sep 4, 2009 at 11:03 PM, Jeremy Evans <[email protected]>wrote: > > 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 > > > -- Scott http://steamcode.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
