Class: CreateSettings

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/geostats/migrations/005_create_settings.rb

Class Method Summary collapse

Class Method Details

.upObject



2
3
4
5
6
7
8
# File 'lib/geostats/migrations/005_create_settings.rb', line 2

def self.up
  create_table :settings do |t|
    t.string    :key
    t.string    :value
    t.timestamps
  end
end