NMS-6015 fix field lengths to match the database
Merge remote-tracking branch 'opennms/1.12'