Class: AddQueryserverToSixconfigs

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

Class Method Summary collapse

Class Method Details

.downObject



6
7
8
# File 'lib/six-updater-web/db/migrate/20100715142961_add_queryserver_to_sixconfigs.rb', line 6

def self.down
  remove_column :sixconfigs, :queryserver_id
end

.upObject



2
3
4
# File 'lib/six-updater-web/db/migrate/20100715142961_add_queryserver_to_sixconfigs.rb', line 2

def self.up
  add_column :sixconfigs, :queryserver_id, :integer
end