Compare commits

..

1 commit

Author SHA1 Message Date
robert-cardillo
f9e1f2840e
Merge ffbd312f29 into 46d8744fa4 2024-10-27 05:22:47 +00:00
2 changed files with 2 additions and 15 deletions

View file

@ -1,13 +0,0 @@
// Update info_json column to LONGTEXT mainly for MariaDB
exports.up = function (knex) {
return knex.schema
.alterTable("monitor_tls_info", function (table) {
table.text("info_json", "longtext").alter();
});
};
exports.down = function (knex) {
return knex.schema.alterTable("monitor_tls_info", function (table) {
table.text("info_json", "text").alter();
});
};

View file

@ -775,6 +775,8 @@ class Database {
await migrationServer.start(port, hostname);
}
await Settings.set("migrateAggregateTableState", "migrating");
log.info("db", "Migrating Aggregate Table");
log.info("db", "Getting list of unique monitors");
@ -797,8 +799,6 @@ class Database {
}
}
await Settings.set("migrateAggregateTableState", "migrating");
let progressPercent = 0;
let part = 100 / monitors.length;
let i = 1;