summaryrefslogtreecommitdiff
path: root/db/migrate/20140422212559_rename_receipts_read.mailboxer_engine.rb
blob: 9ce904fcb7917fe39dd815137c759b8a4169671f (plain)
1
2
3
4
5
6
7
8
9
10
# This migration comes from mailboxer_engine (originally 20120813110712)
class RenameReceiptsRead < ActiveRecord::Migration
  def up
    rename_column :receipts, :read, :is_read
  end

  def down
    rename_column :receipts, :is_read, :read
  end
end