annotate plugins/redmine_checkout/db/migrate/20091208210439_add_checkout_url_info.rb @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents b4b72f1eb644
children
rev   line source
Chris@16 1 class AddCheckoutUrlInfo < ActiveRecord::Migration
Chris@16 2 def self.up
Chris@16 3 add_column :repositories, :checkout_url_type, :string, :default => 'none', :null => false
Chris@16 4 add_column :repositories, :checkout_url, :string, :default => '', :null => false
Chris@16 5 end
Chris@16 6
Chris@16 7 def self.down
Chris@16 8 remove_column :repository, :checkout_url_type
Chris@16 9 remove_column :repository, :checkout_url
Chris@16 10 end
Chris@16 11 end