381468d0cc
This MR introduces tracking of the `rebase_jid` for merge requests. As with `merge_ongoing?`, `rebase_in_progress?` will now return true if a rebase is proceeding in sidekiq. After one release, we should remove the Gitaly-based lookup of rebases. It is much better to track this kind of thing via the database.
9 lines
189 B
Ruby
9 lines
189 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddMergeRequestRebaseJid < ActiveRecord::Migration[5.1]
|
|
DOWNTIME = false
|
|
|
|
def change
|
|
add_column :merge_requests, :rebase_jid, :string
|
|
end
|
|
end
|