From 44bb5164d42dddd0bddf37b401b0c803375e9f25 Mon Sep 17 00:00:00 2001 From: mnoah1 Date: Tue, 27 Oct 2026 21:11:06 +0000 Subject: [PATCH] fix(stovepipe): retain open_issue for schema compatibility Summary: Intent: - Preserve compatibility with existing deployments that still retain the open_issue table. Changes: - Restore the original open_issue schema as an unused compatibility table alongside issue_state. --- .../extension/storage/mysql/schema/open_issue.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 stovepipe/extension/storage/mysql/schema/open_issue.sql diff --git a/stovepipe/extension/storage/mysql/schema/open_issue.sql b/stovepipe/extension/storage/mysql/schema/open_issue.sql new file mode 100644 index 000000000..8112e4260 --- /dev/null +++ b/stovepipe/extension/storage/mysql/schema/open_issue.sql @@ -0,0 +1,10 @@ +-- Retained for schema compatibility with existing deployments; active issue state uses issue_state. +CREATE TABLE IF NOT EXISTS open_issue ( + queue VARBINARY(255) NOT NULL, + task_id VARBINARY(255) NOT NULL, + unit_id VARBINARY(1024) NOT NULL, + + first_seen_build_id VARBINARY(1020) NOT NULL, -- Accommodates existing VARCHAR(255) utf8mb4 build IDs. + + PRIMARY KEY (queue, task_id, unit_id) +) ENGINE=InnoDB;