1 2 3 4 5 6 7 8 9 10 11 12
class RemoveComplaintEmail < ActiveRecord::Migration def self.up remove_column :public_body_versions, :complaint_email remove_column :public_bodies, :complaint_email end def self.down add_column :public_bodies, :complaint_email, :text add_column :public_body_versions, :complaint_email, :text end end