Class: CreateConfigs

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

Class Method Summary collapse

Class Method Details

.downObject



8
9
10
# File 'lib/gitdocs/migration/003_create_configs.rb', line 8

def self.down
  raise
end

.upObject



2
3
4
5
6
# File 'lib/gitdocs/migration/003_create_configs.rb', line 2

def self.up
  create_table :configs do |t|
    t.column :load_browser_on_startup, :boolean, :default => true
  end
end