Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndris Zeila <andris.zeila@zabbix.com>2022-11-08 10:35:05 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2022-11-08 10:35:05 +0300
commit422094c019a907647a30fd4e6d7d20e025827752 (patch)
tree60fb33a8dec8554c1c77b4e660333ea979393700
parent52a2b2664315e772df687452ddea56e695943477 (diff)
.......... [ZBX-21869] added primary key to the initial trigger_queue table creation patch
-rw-r--r--src/libs/zbxdbupgrade/dbupgrade_5010.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/zbxdbupgrade/dbupgrade_5010.c b/src/libs/zbxdbupgrade/dbupgrade_5010.c
index c7e8fa983f6..34e25584a9d 100644
--- a/src/libs/zbxdbupgrade/dbupgrade_5010.c
+++ b/src/libs/zbxdbupgrade/dbupgrade_5010.c
@@ -330,8 +330,9 @@ static int DBpatch_5010036(void)
static int DBpatch_5010037(void)
{
const ZBX_TABLE table =
- {"trigger_queue", "", 0,
+ {"trigger_queue", "trigger_queueid", 0,
{
+ {"trigger_queueid", NULL, NULL, NULL, 0, ZBX_TYPE_ID, ZBX_NOTNULL, 0},
{"objectid", NULL, NULL, NULL, 0, ZBX_TYPE_ID, ZBX_NOTNULL, 0},
{"type", "0", NULL, NULL, 0, ZBX_TYPE_INT, ZBX_NOTNULL, 0},
{"clock", "0", NULL, NULL, 0, ZBX_TYPE_INT, ZBX_NOTNULL, 0},