mailr/db/migrate/20110727132531_add_column_msgs_to_folder.rb

10 lines
199 B
Ruby
Raw Normal View History

2011-07-27 20:34:30 +02:00
class AddColumnMsgsToFolder < ActiveRecord::Migration
def self.up
add_column :folders, :msgs_updated_at, :datetime
end
def self.down
remove_column :folders, :msgs_updated_at
end
end