{"repo":"tlhunter/mig","free":true,"listed":false,"github":"https://github.com/tlhunter/mig","clone":"git clone https://github.com/tlhunter/mig.git","description":"The Universal Database Migration Runner. Distributed as precompiled binaries.","language":"Go","stars":21,"topics":["database-migrations","migration","migrations","sql","database","postgresql"],"license":"MIT","category":"databases-storage","readme_excerpt":"mig the universal database migration runner mig is a database migration runner distributed as precompiled binaries. The goal is to have a universal migration runner that is useful for projects written in any language. Gone are the days of learning a new migration tool when switching to a project written in Python or Node.js or Ruby. No longer sift through stack traces or install dependencies for unfamiliar languages. Simply download a binary and write SQL queries. mig currently supports PostgreSQL , MySQL , and SQLite . Pull requests to support other databases are appreciated. mig will be released as version 1.0 when it is ready for production use. What is a Migration Runner? A migration runner allows a developer to mutate a database schema in such a way that the mutations may be checked into a code repository. This conveniently allows database mutations to be reviewed and versioned alongside relevant code changes. Both schema and code audits can happen within a single pull request. Not only can a database mutate forward, but it's also important to allow migrations to be undone. For this reason there are usually two separate sets or queries as part of a given migration. One for the up / forward operation, and another for the down / back / rollback / revert operation. Configuration Configuration can be achieved by environment variables, CLI flags, config file, or combinations of these. The config file resembles a .env file, containing simple KEY=value pairs. While optional, mi","default_branch":null,"files":null,"tree":[],"storefront":"/r/tlhunter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tlhunter/mig/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}