view db/migrate/20110207142856_add_ext_rep_to_repositories.rb @ 1600:ed9c467ef922 dockerise

Add hggit extension
author Chris Cannam
date Wed, 23 Aug 2017 11:32:50 +0100
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