Mercurial > hg > soundsoftware-site
annotate .svn/pristine/9c/9c6a4271a46b4a3c9f369a8d63232d97a9cca5a3.svn-base @ 1200:fc5d582a25f9 live
Fix internal error on homepage!
author | Chris Cannam |
---|---|
date | Wed, 23 Jan 2013 11:25:09 +0000 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 class AddCustomFieldsDefaultValue < ActiveRecord::Migration |
Chris@909 | 2 def self.up |
Chris@909 | 3 add_column :custom_fields, :default_value, :text |
Chris@909 | 4 end |
Chris@909 | 5 |
Chris@909 | 6 def self.down |
Chris@909 | 7 remove_column :custom_fields, :default_value |
Chris@909 | 8 end |
Chris@909 | 9 end |