[OE-3528] fixed bad naming of sql tables that breaks the established convention.