Get the latest tech news
Dbmate: A lightweight, framework-agnostic database migration tool
:rocket: A lightweight, framework-agnostic database migration tool. - amacneil/dbmate
If you wish to create or apply migrations, you will need to use Docker's bind mount feature to make your local working directory ( pwd) available inside the dbmate container: protocol must be one of mysql, postgres, postgresql, sqlite, sqlite3, clickhouse username and password must be URL encoded (you will get an error if you use special charactors) host can be either a hostname or IP address options are driver-specific (refer to the underlying Go SQL drivers if you wish to use these) If you use a Docker development environment for your project, you may encounter issues with the database not being immediately ready when running migrations or unit tests.
Or read this on Hacker News