It is easily possible to remove a column using rails migration.
class SomeClass < ActiveRecord::Migration
def self.up
remove_column :table_name, :column_name
end
end
I want to know if there is any way to remove a column from table using console.