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

10 lines
190 B
Ruby
Executable file

class RenameMEssagesInFolder < ActiveRecord::Migration
def self.up
rename_column :folders,:messages,:total
end
def self.down
rename_column :folders,:total,:messages
end
end