AGP-422: add new field to sql