view .svn/pristine/1c/1c96e8748cd2bab0b547b070c39e7264886284c8.svn-base @ 1600:ed9c467ef922 dockerise

Add hggit extension
author Chris Cannam
date Wed, 23 Aug 2017 11:32:50 +0100
parents cbb26bc654de
children
line wrap: on
line source
class AddActiveFieldToEnumerations < ActiveRecord::Migration
  def self.up
    add_column :enumerations, :active, :boolean, :default => true, :null => false
  end

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