Commit 000585be authored by Kamil Trzcinski's avatar Kamil Trzcinski

Remove update of container_registry_token_expire_delay

This is not needed when we specify a default.
parent f27daddf
...@@ -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
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