diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
commit | 311b0269b4eb9839fa63f80c8d7a58f32b8138a0 (patch) | |
tree | 07e7870bca8aed6d61fdcc810731c50d2c40af47 /db/migrate/20200406095930_add_needs_ssl_renewal_user_provided_pages_domains_index.rb | |
parent | 27909cef6c4170ed9205afa7426b8d3de47cbb0c (diff) |
Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42
Diffstat (limited to 'db/migrate/20200406095930_add_needs_ssl_renewal_user_provided_pages_domains_index.rb')
-rw-r--r-- | db/migrate/20200406095930_add_needs_ssl_renewal_user_provided_pages_domains_index.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/db/migrate/20200406095930_add_needs_ssl_renewal_user_provided_pages_domains_index.rb b/db/migrate/20200406095930_add_needs_ssl_renewal_user_provided_pages_domains_index.rb deleted file mode 100644 index 73db5e71b94..00000000000 --- a/db/migrate/20200406095930_add_needs_ssl_renewal_user_provided_pages_domains_index.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -class AddNeedsSslRenewalUserProvidedPagesDomainsIndex < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - INDEX_NAME = 'index_pages_domains_need_auto_ssl_renewal_user_provided' - INDEX_SCOPE = "auto_ssl_enabled = true AND auto_ssl_failed = false AND certificate_source = 0" - - disable_ddl_transaction! - - def up - add_concurrent_index(:pages_domains, :id, where: INDEX_SCOPE, name: INDEX_NAME) - end - - def down - remove_concurrent_index(:pages_domains, :id, where: INDEX_SCOPE, name: INDEX_NAME) - end -end |