Commit 4ee665e0 authored by Jarka Košanová's avatar Jarka Košanová

Remove health_status column from epics

parent 19d49f1e
# frozen_string_literal: true
class RemoveHealthStatusFromEpics < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
with_lock_retries do
remove_column :epics, :health_status
end
end
def down
with_lock_retries do
add_column :epics, :health_status, :integer, limit: 2
end
end
end
......@@ -2270,7 +2270,6 @@ CREATE TABLE public.epics (
state_id smallint DEFAULT 1 NOT NULL,
start_date_sourcing_epic_id integer,
due_date_sourcing_epic_id integer,
health_status smallint,
external_key character varying(255)
);
......@@ -12764,6 +12763,7 @@ COPY "schema_migrations" (version) FROM STDIN;
20200226100614
20200226100624
20200226100634
20200226124757
20200226162156
20200226162239
20200226162634
......
---
title: Remove health_status column from epics
merge_request: 26302
author:
type: other
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