annotate plugins/redmine_checkout/db/migrate/20091208210439_add_checkout_url_info.rb @ 1367:a2e51c0a7860 luisf

Correctly clears the cache when publication authors' order is changed.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 19 Aug 2013 16:33:09 +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