Class: AddPriorityAndPathToMods

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

Class Method Summary collapse

Class Method Details

.downObject



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

def self.down
  remove_column :mods, :path, :string
  remove_column :mods, :priority, :integer
end

.upObject



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

def self.up
  add_column :mods, :path, :string
  add_column :mods, :priority, :integer
end