You can use DB Schema Difftective software/tool to compare and synchronize the structure of two databases.
DB Schema Difftective is a tool for comparison and synchronization of database schemas. It allows you to compare and synchronize tables, views, functions, sequences (generators), stored procedures, triggers, and constraints between two databases. DB Schema Difftective will give you the full picture of all database differences. Oracle, MS SQL, IB/FB, MySQL, and PostgreSQL databases are supported.