return"Geo database version (#{database_version}) does not match latest migration (#{migration_version}).\nYou may have to run `gitlab-rake geo:db:migrate` as root on the secondary."unlessdatabase_migration_version_match?
return'Geo database is not configured to use Foreign Data Wrapper.'unlessGitlab::Geo::Fdw.enabled?
unlessGitlab::Geo::Fdw.foreign_tables_up_to_date?
output="Geo database has an outdated FDW remote schema."
output="#{output} It contains #{foreign_schema_tables_count} of #{gitlab_schema_tables_count} expected tables."unlessschema_tables_match?