view .svn/pristine/9d/9d3e20c0402f9dc4a7a3a529d719005725d6cdc1.svn-base @ 997:c1b8a34d3560 cannam

Merge
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 09 Nov 2012 13:58:49 +0000
parents cbb26bc654de
children
line wrap: on
line source
class CreateSettings < ActiveRecord::Migration
  def self.up
    create_table :settings, :force => true do |t|
      t.column "name", :string, :limit => 30, :default => "", :null => false
      t.column "value", :text
    end
  end

  def self.down
    drop_table :settings
  end
end