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
2c9af53a
Commit
2c9af53a
authored
Nov 18, 2019
by
Andreas Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More column ignores
parent
46af11ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
app/models/application_setting.rb
app/models/application_setting.rb
+2
-5
ee/app/models/plan.rb
ee/app/models/plan.rb
+3
-2
No files found.
app/models/application_setting.rb
View file @
2c9af53a
...
...
@@ -5,12 +5,9 @@ class ApplicationSetting < ApplicationRecord
include
CacheMarkdownField
include
TokenAuthenticatable
include
ChronicDurationAttribute
include
IgnorableColumns
# Only remove this >= %12.6 and >= 2019-12-01
self
.
ignored_columns
+=
%i[
pendo_enabled
pendo_url
]
ignore_columns
:pendo_enabled
,
:pendo_url
,
remove_after:
'2019-12-01'
,
remove_with:
'12.6'
add_authentication_token_field
:runners_registration_token
,
encrypted:
->
{
Feature
.
enabled?
(
:application_settings_tokens_optional_encryption
,
default_enabled:
true
)
?
:optional
:
:required
}
add_authentication_token_field
:health_check_access_token
...
...
ee/app/models/plan.rb
View file @
2c9af53a
# frozen_string_literal: true
class
Plan
<
ApplicationRecord
# Remove these in version >= 12.6
self
.
ignored_columns
+=
%i[active_pipelines_limit pipeline_size_limit active_jobs_limit]
include
IgnorableColumns
ignore_columns
%i[active_pipelines_limit pipeline_size_limit active_jobs_limit]
,
remove_after:
'2019-12-01'
,
remove_with:
'12.6'
DEFAULT
=
'default'
.
freeze
FREE
=
'free'
.
freeze
...
...
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