Commit a7616bbb authored by Arturo Herrero's avatar Arturo Herrero

Remove title and description from services

After removing and ignoring the title and description columns from the
code in 0000e049, we can now drop the database columns.
parent fc313b97
---
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
......@@ -15276,7 +15276,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,
......@@ -15296,7 +15295,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