mailr/db/migrate/20110731185416_add_shown_to_folders.rb

12 lines
260 B
Ruby
Raw Normal View History

2011-07-31 22:45:29 +02:00
class AddShownToFolders < ActiveRecord::Migration
def self.up
add_column :folders, :shown, :boolean
add_column :folders, :alter_name, :string
end
def self.down
remove_column :folders, :alter_name
remove_column :folders, :shown
end
end