From 676d977a43a05b77aea165bcd0768fe3b4d3136b Mon Sep 17 00:00:00 2001 From: Alex Tymchuk Date: Mon, 28 Aug 2023 10:07:05 +0000 Subject: [PATCH] PMM-12375 add a column to store the version --- managed/models/database.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/managed/models/database.go b/managed/models/database.go index 4897a7d3cbc..d86f346e26a 100644 --- a/managed/models/database.go +++ b/managed/models/database.go @@ -915,6 +915,10 @@ var databaseSchema = [][]string{ `ALTER TABLE agents ALTER COLUMN comments_parsing_disabled DROP DEFAULT`, }, + 85: { + `ALTER TABLE services + ADD COLUMN version VARCHAR`, + }, } // ^^^ Avoid default values in schema definition. ^^^