Commit aa964852 authored by Patrick Derichs's avatar Patrick Derichs

Remove obsolete columns from resource_milestone_events

Release M+1

Remove obsolete columns from db/structure.sql
parent 26762b65
---
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
......@@ -5597,9 +5597,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
);
......@@ -13217,6 +13214,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