mailr/db/migrate/20110727105240_add_column_to_folder.rb

10 lines
175 B
Ruby
Raw Normal View History

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