aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/043_remove_complaint_email.rb
blob: cc03f65075c9fe240395935d34958bfee25cb405 (plain)
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