Ruby on Rails
Thursday, July 29, 2010
Hi,
Is there a way to "update" a column?
Here's what I mean:
I have a column name "item" in table "products" of type "integer"
Now I want to update the column to have the option ":null => false"
So far, the only way I have found is to remove it and re-add it, but
obviously that is quite dumb.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment