mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-12 04:03:08 +00:00
for SCM that can handle only local copy (git). git-svn-id: http://redmine.rubyforge.org/svn/branches/nbc@1899 e93f8b46-1217-0410-a6f0-8f06a7374b81
13 lines
307 B
Ruby
13 lines
307 B
Ruby
class AddLocalCopy < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :repositories, :cache, :boolean
|
|
add_column :repositories, :cache_path, :string, :limit => 255, :default => ""
|
|
|
|
end
|
|
|
|
def self.down
|
|
remove_column :repositories, :cache
|
|
remove_column :repositories, :cache_path
|
|
end
|
|
end
|