Commit c0463180 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'remove-obsolete-resource-milestone-events-columns' into 'master'

Remove obsolete columns from resource_milestone_events

See merge request gitlab-org/gitlab!28536
parents b9153338 aa964852
---
title: Remove obsolete columns from resource_milestone_events
merge_request: 28536
author:
type: other
# frozen_string_literal: true
class RemoveReferenceColumnsFromResourceMilestoneEvents < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
remove_column :resource_milestone_events, :reference, :text
remove_column :resource_milestone_events, :reference_html, :text
remove_column :resource_milestone_events, :cached_markdown_version, :integer
end
end
......@@ -5631,9 +5631,6 @@ CREATE TABLE public.resource_milestone_events (
milestone_id bigint,
action smallint NOT NULL,
state smallint NOT NULL,
cached_markdown_version integer,
reference text,
reference_html text,
created_at timestamp with time zone NOT NULL
);
......@@ -13269,6 +13266,7 @@ COPY "schema_migrations" (version) FROM STDIN;
20200331132103
20200331195952
20200331220930
20200401091051
20200401095430
20200401211005
20200402123926
......
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