mailr/db/migrate/20110804130051_rename_unseen_in_message.rb
Wojciech Todryk 217c7a2288 contacts done
2011-08-16 20:05:58 +02:00

10 lines
193 B
Ruby
Executable file

class RenameUnseenInMessage < ActiveRecord::Migration
def self.up
rename_column :messages, :unread, :unseen
end
def self.down
rename_column :messages, :unseen, :unread
end
end