Class: AddInclAndExclToMods

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

Class Method Summary collapse

Class Method Details

.downObject



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

def self.down
  remove_column :mods, :incl
  remove_column :mods, :excl
end

.upObject



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

def self.up
  add_column :mods, :incl, :string
  add_column :mods, :excl, :string
end