mailr/db/migrate/20110803115924_rename_m_essages_in_folder.rb

10 lines
190 B
Ruby
Raw Normal View History

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