added option to force ipv4 or ipv6 for http(s) monitor type (#5880)

Co-authored-by: Ionys <9364594+Ionys320@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Fabian Triebsch
2025-06-13 08:14:55 +02:00
committed by GitHub
parent 53e83e7722
commit f282422b22
5 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
exports.up = function (knex) {
return knex.schema
.alterTable("monitor", function (table) {
table.boolean("ip_family").defaultTo(null);
});
};
exports.down = function (knex) {
return knex.schema
.alterTable("monitor", function (table) {
table.dropColumn("ip_family");
});
};