Skip to content

Commit

Permalink
Add more text about TrueClass/FalseClass to schema modification doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Aug 24, 2011
1 parent 3ab09bf commit 1a0044f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/schema_modification.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ convert to database types:
end

Note that in addition to the ruby class name, Sequel also pays attention to the column options when
determining which database type to use.
determining which database type to use. Also note that for boolean columns, you can use either
TrueClass or FalseClass, they are treated the same way (ruby doesn't have a Boolean class).

Also note that this conversion is only done if you use a supported ruby class name. In all other
cases, Sequel uses the type specified verbatim:
Expand Down

0 comments on commit 1a0044f

Please sign in to comment.