Dbt is a ruby library that helps you to automate the creation, importing and migration of databases. Dbt uses convention over configuration and is designed to be a composable component of a larger automation tool chain. Dbt has existing drivers for SQL Server and Postgres.
Visit the Dbt site for further details.