Class: AddTypeToModsAndAppsettings

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

Class Method Summary collapse

Class Method Details

.downObject



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

def self.down
  remove_column :mods, :type
  remove_column :appsettings, :type
end

.upObject



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

def self.up
  add_column :mods, :type, :string
  add_column :appsettings, :type, :string
end