mailr/db/migrate/20110727081504_change_new_in_folder.rb
Wojciech Todryk 37f548ce46 devel
2011-07-27 20:34:30 +02:00

10 lines
177 B
Ruby
Executable file

class ChangeNewInFolder < ActiveRecord::Migration
def self.up
rename_column :folders,:new,:unseen
end
def self.down
rename_column :folders,:unseen,:new
end
end