summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-31 15:51:45 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-31 15:51:45 +0200
commit000585be1b3cc77889ae7ea6b38aff9e12fb6541 (patch)
tree44c8469ad2145463c5b2a0ce165ee27b9a4d99a1
parentf27daddfc67b0c5f4510a59f1180f22e2d16d324 (diff)
downloadgitlab-ce-000585be1b3cc77889ae7ea6b38aff9e12fb6541.tar.gz
Remove update of container_registry_token_expire_delay
This is not needed when we specify a default.
-rw-r--r--db/migrate/20160530150109_add_container_registry_token_expire_delay_to_application_settings.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/db/migrate/20160530150109_add_container_registry_token_expire_delay_to_application_settings.rb b/db/migrate/20160530150109_add_container_registry_token_expire_delay_to_application_settings.rb
index 2465c03050c..e21376bd571 100644
--- a/db/migrate/20160530150109_add_container_registry_token_expire_delay_to_application_settings.rb
+++ b/db/migrate/20160530150109_add_container_registry_token_expire_delay_to_application_settings.rb
@@ -5,8 +5,5 @@ class AddContainerRegistryTokenExpireDelayToApplicationSettings < ActiveRecord::
def change
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