i have bunch of item properties that need to be stored in the database.
the options for the properties are:

-unknown
-yes
-no

what do you think is the best way to store this data?

should i use a tinyint and only store 0, 1, 2 for the respective options
or just use a varchar(10) and store the name of the result?

what is the usual standard?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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