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

10 lines
175 B
Ruby
Executable file

class AddColumnToFolder < ActiveRecord::Migration
def self.up
add_column :folders, :parent, :string
end
def self.down
remove_column :folders, :parent
end
end