method
change_column
Ruby on Rails latest stable (v2.2.1)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::SchemaStatements
change_column(table_name, column_name, type, options = {})
public
Changes the column’s definition according to the new options. See TableDefinition#column for details of the options you can use.
Examples
change_column(:suppliers, :name, :string, :limit => 80) change_column(:accounts, :description, :text)

