mailr/db/migrate/20110731185416_add_shown_to...

12 lines
260 B
Ruby
Executable File

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