迁移类型为Git

This commit is contained in:
huang 2015-11-06 14:39:15 +08:00
parent ee4bd58b27
commit 71728a15e4
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ namespace :rep_fault do
desc "set ossean's type value"
task :rep_update => :environment do
rep = Repository.find(400)
rep.type = "Repository::Gitlab"
rep.type = "Repository::Git"
rep.save
end