Ruby on Rails Tuesday, May 17, 2011

I have been poking around the rails guides section on migrations
(http://guides.rubyonrails.org/v2.3.8/migrations.html#changing-tables)
and trying to make sure I have the proper syntax to change a column
type for an existing field from string to text (without losing data
already entered). What is the proper syntax for this in a migration?

Let's say for this example, the table is named "posts" and the column
is named "apply_info"

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

No comments:

Post a Comment