AMBARI-6193. Upgrading schema' failed during upgrading to 1.6.1. (mpapirkovskyy)