Mercurial > hg > soundsoftware-site
annotate .svn/pristine/d5/d5af5255aeef7f16693678f7afc164c0ff6fdbec.svn-base @ 1553:baac54711ee9 feature_1136
Attempt to fix that properly
author | Chris Cannam |
---|---|
date | Wed, 13 Jan 2016 11:19:42 +0000 |
parents | 038ba2d95de8 |
children |
rev | line source |
---|---|
Chris@1296 | 1 class AddCustomFieldsMultiple < ActiveRecord::Migration |
Chris@1296 | 2 def self.up |
Chris@1296 | 3 add_column :custom_fields, :multiple, :boolean, :default => false |
Chris@1296 | 4 end |
Chris@1296 | 5 |
Chris@1296 | 6 def self.down |
Chris@1296 | 7 remove_column :custom_fields, :multiple |
Chris@1296 | 8 end |
Chris@1296 | 9 end |