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

10 lines
199 B
Ruby
Executable file

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