Mercurial > hg > soundsoftware-site
diff .svn/pristine/9d/9d3e20c0402f9dc4a7a3a529d719005725d6cdc1.svn-base @ 935:fe0249c097f6 live
Merge from the default branch
author | Chris Cannam |
---|---|
date | Wed, 11 Jul 2012 13:33:14 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/9d/9d3e20c0402f9dc4a7a3a529d719005725d6cdc1.svn-base Wed Jul 11 13:33:14 2012 +0100 @@ -0,0 +1,12 @@ +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