@@ -14199,7 +14199,9 @@ ALTER SEQUENCE issuable_severities_id_seq OWNED BY issuable_severities.id;
...
@@ -14199,7 +14199,9 @@ ALTER SEQUENCE issuable_severities_id_seq OWNED BY issuable_severities.id;
CREATE TABLE issuable_slas (
CREATE TABLE issuable_slas (
id bigint NOT NULL,
id bigint NOT NULL,
issue_id bigint NOT NULL,
issue_id bigint NOT NULL,
due_at timestamp with time zone NOT NULL
due_at timestamp with time zone NOT NULL,
label_applied boolean DEFAULT false NOT NULL,
issuable_closed boolean DEFAULT false NOT NULL
);
);
CREATE SEQUENCE issuable_slas_id_seq
CREATE SEQUENCE issuable_slas_id_seq
...
@@ -24044,6 +24046,8 @@ CREATE INDEX index_issuable_metric_images_on_issue_id ON issuable_metric_images
...
@@ -24044,6 +24046,8 @@ CREATE INDEX index_issuable_metric_images_on_issue_id ON issuable_metric_images
CREATE UNIQUE INDEX index_issuable_severities_on_issue_id ON issuable_severities USING btree (issue_id);
CREATE UNIQUE INDEX index_issuable_severities_on_issue_id ON issuable_severities USING btree (issue_id);
CREATE INDEX index_issuable_slas_on_due_at_id_label_applied_issuable_closed ON issuable_slas USING btree (due_at, id) WHERE ((label_applied = false) AND (issuable_closed = false));
CREATE UNIQUE INDEX index_issuable_slas_on_issue_id ON issuable_slas USING btree (issue_id);
CREATE UNIQUE INDEX index_issuable_slas_on_issue_id ON issuable_slas USING btree (issue_id);
CREATE INDEX index_issue_assignees_on_user_id ON issue_assignees USING btree (user_id);
CREATE INDEX index_issue_assignees_on_user_id ON issue_assignees USING btree (user_id);