Class: CreateSystemSettings

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

Class Method Summary collapse

Class Method Details

.downObject



11
12
13
# File 'lib/six-updater-web/db/migrate/20090928163554_create_system_settings.rb', line 11

def self.down
  drop_table :system_settings
end

.upObject



2
3
4
5
6
7
8
9
# File 'lib/six-updater-web/db/migrate/20090928163554_create_system_settings.rb', line 2

def self.up
  create_table :system_settings do |t|
    t.string :server_username
    t.string :server_password

    t.timestamps :lock_version => false
  end
end