diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-25 15:08:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-25 15:08:19 +0300 |
commit | e6baeabaa9651d90b03bb64ffce75a2c3cb89aab (patch) | |
tree | 85f3cbd6e437b17be59505cf3ac4794c1838609e /db/migrate/20200320123839_add_letsencrypt_errors_to_pages_domains.rb | |
parent | 5064bf8c5647d4c4430cbb4d097cf1592416de29 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db/migrate/20200320123839_add_letsencrypt_errors_to_pages_domains.rb')
-rw-r--r-- | db/migrate/20200320123839_add_letsencrypt_errors_to_pages_domains.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/db/migrate/20200320123839_add_letsencrypt_errors_to_pages_domains.rb b/db/migrate/20200320123839_add_letsencrypt_errors_to_pages_domains.rb new file mode 100644 index 00000000000..ad4debf9a1e --- /dev/null +++ b/db/migrate/20200320123839_add_letsencrypt_errors_to_pages_domains.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +# See https://docs.gitlab.com/ee/development/migration_style_guide.html +# for more information on how to write migrations for GitLab. + +class AddLetsencryptErrorsToPagesDomains < ActiveRecord::Migration[6.0] + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + disable_ddl_transaction! + + def up + add_column_with_default :pages_domains, :auto_ssl_failed, :boolean, default: false + end + + def down + remove_column :pages_domains, :auto_ssl_failed + end +end |