What\'s the syntax for dropping a database table column through a Rails migration?
Through remove_column :table_name, :column_name in a migration file
remove_column :table_name, :column_name
You can remove a column directly in a rails console by typing: ActiveRecord::Base.remove_column :table_name, :column_name
ActiveRecord::Base.remove_column :table_name, :column_name