Add max length DB schema tweak from #2036 to Code field