Class: AddWebPortToConfig

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/gitdocs/migration/006_add_web_port_to_config.rb

Class Method Summary collapse

Class Method Details

.downObject



6
7
8
# File 'lib/gitdocs/migration/006_add_web_port_to_config.rb', line 6

def self.down
  raise
end

.upObject



2
3
4
# File 'lib/gitdocs/migration/006_add_web_port_to_config.rb', line 2

def self.up
  add_column :configs, :web_frontend_port, :integer, :default => 8888
end