diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2023-07-03 16:40:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 16:40:17 +0300 |
commit | 6dd2fc735ad37165de442893109cc5a33bc83522 (patch) | |
tree | 65d721f9aa3ca8921563d0c2859346b3e47d9832 /database/sqlite/sqlite_functions.c | |
parent | 52ac7b0f1a2de17feeb2613d2a32a6aa17429cbc (diff) |
Send alert chart labels config key to cloud (#15283)
* add chart_labels to alert_hash
* store chart_labels in alert_hash
* transmit to cloud
Diffstat (limited to 'database/sqlite/sqlite_functions.c')
-rw-r--r-- | database/sqlite/sqlite_functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/database/sqlite/sqlite_functions.c b/database/sqlite/sqlite_functions.c index fce929ef69..5e9631d8b8 100644 --- a/database/sqlite/sqlite_functions.c +++ b/database/sqlite/sqlite_functions.c @@ -3,7 +3,7 @@ #include "sqlite_functions.h" #include "sqlite_db_migration.h" -#define DB_METADATA_VERSION 9 +#define DB_METADATA_VERSION 10 const char *database_config[] = { "CREATE TABLE IF NOT EXISTS host(host_id BLOB PRIMARY KEY, hostname TEXT NOT NULL, " @@ -32,7 +32,7 @@ const char *database_config[] = { "every text, units text, calc text, families text, plugin text, module text, charts text, green text, " "red text, warn text, crit text, exec text, to_key text, info text, delay text, options text, " "repeat text, host_labels text, p_db_lookup_dimensions text, p_db_lookup_method text, p_db_lookup_options int, " - "p_db_lookup_after int, p_db_lookup_before int, p_update_every int, source text);", + "p_db_lookup_after int, p_db_lookup_before int, p_update_every int, source text, chart_labels text);", "CREATE INDEX IF NOT EXISTS alert_hash_index ON alert_hash (hash_id);", |