Commit 36376ab2 authored by Toon Claes's avatar Toon Claes

Merge branch '217581-remove-default-column' into 'master'

Remove default column from services table

See merge request gitlab-org/gitlab!39817
parents 74559056 37dc23ee
---
title: Remove default column from services table
merge_request: 39817
author:
type: other
# frozen_string_literal: true
class RemoveDefaultFromServices < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
with_lock_retries do
remove_column :services, :default, :boolean
end
end
def down
with_lock_retries do
add_column :services, :default, :boolean, default: false
end
end
end
c12f3f5b76e1065867682216348dd95c22d605c30ae54615f2596b1d84aad199
\ No newline at end of file
......@@ -15409,7 +15409,6 @@ CREATE TABLE public.services (
tag_push_events boolean DEFAULT true,
note_events boolean DEFAULT true NOT NULL,
category character varying DEFAULT 'common'::character varying NOT NULL,
"default" boolean DEFAULT false,
wiki_page_events boolean DEFAULT true,
pipeline_events boolean DEFAULT false NOT NULL,
confidential_issues_events boolean DEFAULT true NOT NULL,
......
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