Mercurial > hg > soundsoftware-site
annotate .svn/pristine/9c/9c6a4271a46b4a3c9f369a8d63232d97a9cca5a3.svn-base @ 1551:36dddb6755f6 feature_1136
Need -f in case no authormaps exist yet
author | Chris Cannam |
---|---|
date | Tue, 12 Jan 2016 17:55:48 +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 |