annotate plugins/redmine_checkout/db/migrate/20091208210439_add_checkout_url_info.rb @ 1372:a8832968d927
bibliography_testing
added another simple test to test the relationship between authors/authorships
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Thu, 22 Aug 2013 12:42: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
|