Added database protection in case MiqDatabase isn't defind (transferred from ManageIQ/manageiq@87258235d6c79f3c8789c2a8d936904aaf29b1b7)
Added database protection in case MiqDatabase isn't defind
(transferred from ManageIQ/manageiq@87258235d6c79f3c8789c2a8d936904aaf29b1b7)

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic