annotate db/migrate/20120127174243_add_custom_fields_multiple.rb @ 1129:77f703281e14 redmine-2.2-integration

Changed projects#explore to ensure compatibility with Rails 3.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 09 Jan 2013 11:45:25 +0000
parents 433d4f72a19b
children
rev   line source
Chris@1115 1 class AddCustomFieldsMultiple < ActiveRecord::Migration
Chris@1115 2 def self.up
Chris@1115 3 add_column :custom_fields, :multiple, :boolean, :default => false
Chris@1115 4 end
Chris@1115 5
Chris@1115 6 def self.down
Chris@1115 7 remove_column :custom_fields, :multiple
Chris@1115 8 end
Chris@1115 9 end