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

class AddActiveFieldToEnumerations < ActiveRecord::Migration[4.2]
  def self.up
    add_column :enumerations, :active, :boolean, :default => true, :null => false
  end

  def self.down
    remove_column :enumerations, :active
  end
end