Commit 56520198 authored by Toon Claes's avatar Toon Claes

Merge branch...

Merge branch '30146-let-s-encrypt-integration-doesn-t-scale-and-does-not-give-any-feedback-to-user-on-errors' into 'master'

Add auto_ssl_failed to pages_domains

See merge request gitlab-org/gitlab!27671
parents 085a1a2f fbc6ea38
---
title: Add auto_ssl_failed to pages_domains
merge_request: 27671
author:
type: added
# 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
...@@ -4449,7 +4449,8 @@ CREATE TABLE public.pages_domains ( ...@@ -4449,7 +4449,8 @@ CREATE TABLE public.pages_domains (
certificate_source smallint DEFAULT 0 NOT NULL, certificate_source smallint DEFAULT 0 NOT NULL,
wildcard boolean DEFAULT false NOT NULL, wildcard boolean DEFAULT false NOT NULL,
usage smallint DEFAULT 0 NOT NULL, usage smallint DEFAULT 0 NOT NULL,
scope smallint DEFAULT 2 NOT NULL scope smallint DEFAULT 2 NOT NULL,
auto_ssl_failed boolean DEFAULT false NOT NULL
); );
CREATE SEQUENCE public.pages_domains_id_seq CREATE SEQUENCE public.pages_domains_id_seq
...@@ -12750,6 +12751,7 @@ INSERT INTO "schema_migrations" (version) VALUES ...@@ -12750,6 +12751,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20200318175008'), ('20200318175008'),
('20200319123041'), ('20200319123041'),
('20200319203901'), ('20200319203901'),
('20200320123839'),
('20200323075043'), ('20200323075043'),
('20200323122201'), ('20200323122201'),
('20200324115359'); ('20200324115359');
......
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