Open DBDiff is a database comparison tool for Microsoft SQL Server 2005+ that reports schema differences and creates a synchronization script.
sqlite compare diff merge
mysql mariadb diff merge
SQL Server code maintenance and documentation