annotate db/migrate/20120127174243_add_custom_fields_multiple.rb @ 1511:e1cfd013ef49 live

Fix #832 main page of a project should not have "Overview" as the first word of the html title
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 21 Mar 2014 14:11:12 +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