Commit b4a5200c authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'remove-health-status-epic-db' into 'master'

Remove health_status column from epics

See merge request gitlab-org/gitlab!26302
parents a5cee529 4ee665e0
# 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
......@@ -2271,7 +2271,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)
);
......@@ -12819,6 +12818,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