rails/rails — Issue #3432: reversible remove_column
Author: assembler
Created: 2011-10-25 09:41:35+00:00
State: open

We have following syntax for adding new column to the database

def change
add_column :household_invitations, :accepted, :boolean, null: true
end

Why not to have the following for having reversible remove_column, instead of having to write both up and down methods?

def change
remove_column :household_invitations, :accepted, :boolean, null: true
end