annotate plugins/redmine_checkout/db/migrate/20091208210439_add_checkout_url_info.rb @ 1245:d8e15cc24494
redmine-2.2-integration
fixed the project _overview form_for (had one extra parameter); created route for a project's settings.
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Wed, 27 Mar 2013 15:37:47 +0000 |
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
|