Repair license db