迁移类型为Git
This commit is contained in:
parent
ee4bd58b27
commit
71728a15e4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue