view plugins/redmine_checkout/db/migrate/20100118174556_add_render_link.rb @ 1624:76f8f0814e1e live

Use --check to avoid errors when updating in repos with more than one head
author Chris Cannam
date Fri, 10 Aug 2018 16:08:05 +0100
parents b4b72f1eb644
children
line wrap: on
line source
class AddRenderLink < ActiveRecord::Migration
  def self.up
    add_column :repositories, :render_link, :boolean, :null => true
  end
  
  def self.down
    remove_column :repositories, :render_link
  end
end