Commit 4f555fff authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets Committed by Peter Leitzen

Remove old ignore_column from EE code

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 4be2c940
......@@ -14,8 +14,6 @@ module EE
belongs_to :file_template_project, class_name: "Project"
self.ignored_columns += %i[minimum_mirror_sync_time]
validates :shared_runners_minutes,
numericality: { greater_than_or_equal_to: 0 }
......
......@@ -24,7 +24,6 @@ module EE
self.ignored_columns += %i[
mirror_last_update_at
mirror_last_successful_update_at
next_execution_timestamp
]
before_save :set_override_pull_mirror_available, unless: -> { ::Gitlab::CurrentSettings.mirror_available }
......
......@@ -6,8 +6,6 @@ module EE
extend ::Gitlab::Utils::Override
prepended do
self.ignored_columns += %i[created_at updated_at]
BACKOFF_PERIOD = 24.seconds
JITTER = 6.seconds
......
......@@ -18,8 +18,6 @@ module EE
prepended do
EMAIL_OPT_IN_SOURCE_ID_GITLAB_COM = 1
self.ignored_columns += %i[support_bot]
# We aren't using the `auditor?` method for the `if` condition here
# because `auditor?` returns `false` when the `auditor` column is `true`
# and the auditor add-on absent. We want to run this validation
......
......@@ -3,8 +3,6 @@
class ProjectRepositoryState < ApplicationRecord
include ShaAttribute
self.ignored_columns += %i[last_repository_verification_failed last_wiki_verification_failed]
sha_attribute :repository_verification_checksum
sha_attribute :wiki_verification_checksum
......
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