AMBARI-6952. Schema upgrade failed during upgrade from BWM20 with default Postgres DB.(vbrodetskyi)