view db/migrate/20110207142856_add_ext_rep_to_repositories.rb @ 774:58410c63bb84 feature_334

Force a Google search box rudely into the middle of the search view, just to see how it looks. It can be styled reasonably well -- but the adverts, when they appear, are atrocious.
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 17 Nov 2011 14:56:55 +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