mailr/db/migrate/20110731185416_add_shown_to_folders.rb
Wojciech Todryk 68b925ea5e new stuff
2011-08-02 23:12:17 +02:00

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