annotate plugins/redmine_checkout/db/migrate/20091208210439_add_checkout_url_info.rb @ 1274:5ea1a213c7a5
redmine-2.2-integration
Removed Ajax calls taht are no longer working in Rails 3 and started migrating them; added a new javascript file - bibliography.js - to hold the new jquery js code; added the new show_bibtex_fields.js.erb file to replace the RJS code that was in the controller.
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Thu, 09 May 2013 18:44:59 +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
|