ALM-653 removed dependencies on retrieval_histories table
ALM-653 renamed mysql_info to sql_info for postgres users