Mercurial > hg > soundsoftware-site
annotate .svn/pristine/9c/9c6a4271a46b4a3c9f369a8d63232d97a9cca5a3.svn-base @ 1609:5486a5848ad8 deploy
Load from deploy-source root, not deployed root (consistent with check in prepare.sh)
author | Chris Cannam |
---|---|
date | Tue, 29 Aug 2017 11:52:36 +0100 |
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 |