1 2 3 4 5 6 7 8 9
class RemoveUsersMail < ActiveRecord::Migration def self.up remove_column :users, :mail end def self.down raise IrreversibleMigration end end