BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
000585be
Commit
000585be
authored
May 31, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove update of container_registry_token_expire_delay
This is not needed when we specify a default.
parent
f27daddf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
20160530150109_add_container_registry_token_expire_delay_to_application_settings.rb
...er_registry_token_expire_delay_to_application_settings.rb
+0
-3
No files found.
db/migrate/20160530150109_add_container_registry_token_expire_delay_to_application_settings.rb
View file @
000585be
...
@@ -5,8 +5,5 @@ class AddContainerRegistryTokenExpireDelayToApplicationSettings < ActiveRecord::
...
@@ -5,8 +5,5 @@ class AddContainerRegistryTokenExpireDelayToApplicationSettings < ActiveRecord::
def
change
def
change
add_column
:application_settings
,
:container_registry_token_expire_delay
,
:integer
,
default:
5
add_column
:application_settings
,
:container_registry_token_expire_delay
,
:integer
,
default:
5
# Set expire delay to 5 minutes for existing settings
execute
(
"update application_settings set container_registry_token_expire_delay = 5"
)
end
end
end
end
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