Commit 6285caf9 authored by Ian Baum's avatar Ian Baum

Re-add EachBatch include for failed_verification_timeouts

* Removed as part of https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77364/diffs, but turned out to be necessary

Changelog: fixed
EE: true
parent 6c3646d6
......@@ -488,6 +488,8 @@ That's all of the required database changes.
module Geo
class CoolWidgetState < ApplicationRecord
include EachBatch
self.primary_key = :cool_widget_id
belongs_to :cool_widget, inverse_of: :cool_widget_state
......
......@@ -452,6 +452,8 @@ That's all of the required database changes.
``` ruby
module Geo
class CoolWidgetState < ApplicationRecord
include EachBatch
self.primary_key = :cool_widget_id
belongs_to :cool_widget, inverse_of: :cool_widget_state
......
......@@ -2,6 +2,8 @@
module Geo
class LfsObjectState < ApplicationRecord
include EachBatch
self.primary_key = :lfs_object_id
belongs_to :lfs_object, inverse_of: :lfs_object_state
......
......@@ -2,6 +2,8 @@
module Geo
class PagesDeploymentState < ApplicationRecord
include EachBatch
self.primary_key = :pages_deployment_id
belongs_to :pages_deployment, inverse_of: :pages_deployment_state
......
......@@ -2,6 +2,8 @@
module Geo
class UploadState < ApplicationRecord
include EachBatch
self.primary_key = :upload_id
belongs_to :upload, inverse_of: :upload_state
......
# frozen_string_literal: true
class MergeRequestDiffDetail < ApplicationRecord
include EachBatch
self.primary_key = :merge_request_diff_id
belongs_to :merge_request_diff, inverse_of: :merge_request_diff_detail
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment