Commit 6d40164f authored by Tiger Watson's avatar Tiger Watson

Merge branch '217587-remove-title-and-description-from-services' into 'master'

Remove title and description columns from services table

See merge request gitlab-org/gitlab!37936
parents 996e5c5a a7616bbb
---
title: Remove title and description columns from services table
merge_request: 37936
author:
type: other
# frozen_string_literal: true
class RemoveTitleAndDescriptionFromServices < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
remove_column :services, :title, :string
remove_column :services, :description, :string, limit: 500
end
end
fd85556cfed27a08aa01a8ee5b4eecfb1de7011b2fcb5c613cf21b9f42e728b9
\ No newline at end of file
......@@ -15279,7 +15279,6 @@ CREATE TABLE public.service_desk_settings (
CREATE TABLE public.services (
id integer NOT NULL,
type character varying,
title character varying,
project_id integer,
created_at timestamp without time zone,
updated_at timestamp without time zone,
......@@ -15299,7 +15298,6 @@ CREATE TABLE public.services (
job_events boolean DEFAULT false NOT NULL,
confidential_note_events boolean DEFAULT true,
deployment_events boolean DEFAULT false NOT NULL,
description character varying(500),
comment_on_event_enabled boolean DEFAULT true NOT NULL,
template boolean DEFAULT false,
instance boolean DEFAULT false 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