From 4dd6a07b6b021eb26d8b0a7700d9203e97703ccc Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Fri, 11 Oct 2024 18:07:44 +0300 Subject: [PATCH] schema: Add version to issue ID fields Add the "version" field to "issues" ID description, since it's the combination of both the "id" and the "version" field which identifies the "issue" object uniquely. --- kcidb_io/schema/v04_01.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcidb_io/schema/v04_01.py b/kcidb_io/schema/v04_01.py index 4ca23eb..05974b9 100644 --- a/kcidb_io/schema/v04_01.py +++ b/kcidb_io/schema/v04_01.py @@ -904,6 +904,6 @@ class Version(PreviousVersion): checkouts=dict(id=str), builds=dict(id=str), tests=dict(id=str), - issues=dict(id=str), + issues=dict(id=str, version=int), incidents=dict(id=str), )