[FAIL] ./lnms migrate

I followed this to get my DB to 10.5 (make sure to backup all sql before upgrading) and fix the port_groups error Database out of date - validate.php - lnms update

best check port_groups is empty before dropping

lmns migrate will then work (took 10 minutes to run for me)