summaryrefslogtreecommitdiffstats
path: root/db/migrate/20120127174243_add_custom_fields_multiple.rb
blob: afbe11f0bb4c2143d9535125d6be57c843a62a92 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: false

class AddCustomFieldsMultiple < ActiveRecord::Migration[4.2]
  def self.up
    add_column :custom_fields, :multiple, :boolean, :default => false
  end

  def self.down
    remove_column :custom_fields, :multiple
  end
end