view db/migrate/20110207142856_add_ext_rep_to_repositories.rb @ 1477:f2ad2199b49a bibplugin_integration

Close obsolete branch bibplugin_integration
author Chris Cannam
date Fri, 30 Nov 2012 14:41:31 +0000
parents 11661511fc20
children
line wrap: on
line source
class AddExtRepToRepositories < ActiveRecord::Migration
  def self.up
    add_column :repositories, :is_external, :bool
    add_column :repositories, :external_url, :string
  end

  def self.down
    remove_column :repositories, :is_external
    remove_column :repositories, :external_url
  end
end