annotate .svn/pristine/d5/d5af5255aeef7f16693678f7afc164c0ff6fdbec.svn-base @ 1539:22d57b0e0a77 live

OK, this script works now, but it should be using the API
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 21 May 2015 17:31:06 +0100
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