迁移类型为Git
This commit is contained in:
parent
ee4bd58b27
commit
71728a15e4
|
@ -4,7 +4,7 @@ namespace :rep_fault do
|
||||||
desc "set ossean's type value"
|
desc "set ossean's type value"
|
||||||
task :rep_update => :environment do
|
task :rep_update => :environment do
|
||||||
rep = Repository.find(400)
|
rep = Repository.find(400)
|
||||||
rep.type = "Repository::Gitlab"
|
rep.type = "Repository::Git"
|
||||||
rep.save
|
rep.save
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue