Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 917b6c957b
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.284 kb
class AddExistingRevisionsCacheToProjects < ActiveRecord::Migration
def self.up
add_column :projects, :existing_revisions, :text
Project.find(:all).each(&:reset_existing_tickets!) rescue true
end
def self.down
remove_column :projects, :existing_revisions
end
end
Jump to Line
Something went wrong with that request. Please try again.