Commit fbc6ea38 authored by Vladimir Shushlin's avatar Vladimir Shushlin Committed by Toon Claes

Add auto_ssl_failed to pages domains

parent 2109ab64
---
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 (
certificate_source smallint DEFAULT 0 NOT NULL,
wildcard boolean DEFAULT false 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
......@@ -12750,6 +12751,7 @@ INSERT INTO "schema_migrations" (version) VALUES
('20200318175008'),
('20200319123041'),
('20200319203901'),
('20200320123839'),
('20200323075043'),
('20200323122201'),
('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