Create a set column with database migration in rails
- by Micke
Hello.
I need to add a new column to my users table in the database. I want the type of the column to be set. The column represents the users gender. There should be two options to the set. One form Male "m" and the other for Female "f".
But i havent found any doccumentation for adding a column with the set type.
How can i do this?