On May 1, 9:41 am, dusty <[email protected]> wrote: > Jeremy, > > Its too late for me to get this in 3.0, but something I am planning on > doing is adding some more details to the documentation on > Sequel::Schema::Generator. Mainly, I just wanted to add some more > explanation about whether you should use something like: > > integer or Integer > boolean or TrueClass > > (BTW - which one is recommended? - I've done both) > > And perhaps listing out what all the types are that you can use. For > example, I'm using mysql and I've found that I can set a boolean field > with either the type boolean or the generic type TrueClass. But, I > didn't even know boolean was an option, since mysql doesn't have a > boolean field, I just tried it and it worked. > > What would be the best place for me to look at? I'm thinking > schema_sql.rb and the specs may be a good place for me to start > gathering the information needed for it.
Since the schema documentation is fairly spread out, I added a schema.rdoc file to the doc directory, so that would be the best place to add the information. Doc patches are very helpful and usually go in right away, so don't hesitate to submit them. 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 -~----------~----~----~----~------~----~------~--~---
