diff --git a/db/knex_migrations/2025-10-14-0000-add-ip-family-fix.js b/db/knex_migrations/2025-10-14-0000-add-ip-family-fix.js new file mode 100644 index 000000000..5c9c3845f --- /dev/null +++ b/db/knex_migrations/2025-10-14-0000-add-ip-family-fix.js @@ -0,0 +1,16 @@ +exports.up = function (knex) { + return knex.schema + .alterTable("monitor", function (table) { + // Fix ip_family, change to varchar instead of boolean + // possible values are "ipv4" and "ipv6" + table.string("ip_family", 4).defaultTo(null).alter(); + }); +}; + +exports.down = function (knex) { + return knex.schema + .alterTable("monitor", function (table) { + // Rollback to boolean + table.boolean("ip_family").defaultTo(null).alter(); + }); +}; diff --git a/src/lang/en.json b/src/lang/en.json index 3c57b2db3..8c9690269 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -313,6 +313,7 @@ "Services": "Services", "Discard": "Discard", "Cancel": "Cancel", + "auto-select": "Auto Select", "Select": "Select", "selectedMonitorCount": "Selected: {0}", "Check/Uncheck": "Check/Uncheck",