Skip to content

Commit

Permalink
[api] fix novell bugzilla url
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Jan 20, 2012
1 parent 75d870a commit d649625
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/api/db/migrate/20120120114301_fix_bnc_url.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
class FixBncUrl < ActiveRecord::Migration
def self.up
t=IssueTracker.find_by_name('bnc')
t.url="https://apibugzilla.novell.com"
t.save
Delayed::Job.enqueue IssueTrackersToBackendJob.new
end

def self.down
t=IssueTracker.find_by_name('bnc')
t.url="https://bugzilla.novell.com"
t.save
Delayed::Job.enqueue IssueTrackersToBackendJob.new
end
end

0 comments on commit d649625

Please sign in to comment.