Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4f555fff
Commit
4f555fff
authored
Jul 19, 2019
by
Dmitriy Zaporozhets
Committed by
Peter Leitzen
Sep 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old ignore_column from EE code
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
4be2c940
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
9 deletions
+0
-9
ee/app/models/ee/application_setting.rb
ee/app/models/ee/application_setting.rb
+0
-2
ee/app/models/ee/project.rb
ee/app/models/ee/project.rb
+0
-1
ee/app/models/ee/project_import_state.rb
ee/app/models/ee/project_import_state.rb
+0
-2
ee/app/models/ee/user.rb
ee/app/models/ee/user.rb
+0
-2
ee/app/models/project_repository_state.rb
ee/app/models/project_repository_state.rb
+0
-2
No files found.
ee/app/models/ee/application_setting.rb
View file @
4f555fff
...
...
@@ -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
}
...
...
ee/app/models/ee/project.rb
View file @
4f555fff
...
...
@@ -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
}
...
...
ee/app/models/ee/project_import_state.rb
View file @
4f555fff
...
...
@@ -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
...
...
ee/app/models/ee/user.rb
View file @
4f555fff
...
...
@@ -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
...
...
ee/app/models/project_repository_state.rb
View file @
4f555fff
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment