Class: Change2ColumnsSystemSettings

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

Class Method Summary collapse

Class Method Details

.downObject



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

def self.down
  remove_column :system_settings, :autoskip
end

.upObject



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

def self.up
  add_column :system_settings, :autoskip, :boolean, :default => true
end