mailr/db/migrate/20110804130051_rename_unseen_in_message.rb

10 lines
193 B
Ruby
Raw Normal View History

2011-08-16 20:05:58 +02:00
class RenameUnseenInMessage < ActiveRecord::Migration
def self.up
rename_column :messages, :unread, :unseen
end
def self.down
rename_column :messages, :unseen, :unread
end
end