view db/migrate/102_add_custom_fields_editable.rb @ 942:bb4f99a30aee live

Ensure external repo details are passed through WS interface
author Chris Cannam
date Wed, 11 Jul 2012 15:45:00 +0100
parents 513646585e45
children
line wrap: on
line source
class AddCustomFieldsEditable < ActiveRecord::Migration
  def self.up
    add_column :custom_fields, :editable, :boolean, :default => true
  end

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