set Port.label to NULL instead of an empty string
[racktables] / wwwroot / inc / upgrade.php
index d5bc22bb16e7830dc92eb8ea3b30aa24e59a2400..101efa38da0827180d32c9a31a6565f9afb596f0 100644 (file)
@@ -1226,6 +1226,7 @@ ENDOFTRIGGER;
                        break;
                // FIXME: add remaining 0.20.x sections here after respective releases come out
                case '0.21.0':
+                       $query[] = "UPDATE Port SET label = NULL WHERE label = ''";
                        $query[] = "UPDATE Config SET varvalue = '0.21.0' WHERE varname = 'DB_VERSION'";
                        break;
                case 'dictionary':