Class: Change2ColumnsMods

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/six-updater-web/db/migrate/20090928163556_change2_columns_mods.rb

Class Method Summary collapse

Class Method Details

.downObject



7
8
9
10
# File 'lib/six-updater-web/db/migrate/20090928163556_change2_columns_mods.rb', line 7

def self.down
  remove_column :mods, :skip
  remove_column :mods, :disabled
end

.upObject



2
3
4
5
# File 'lib/six-updater-web/db/migrate/20090928163556_change2_columns_mods.rb', line 2

def self.up
  add_column :mods, :skip, :boolean
  add_column :mods, :disabled, :boolean
end