Get started with Reverse Migrations


Prerequisites

A Remote SQL database

  • Postgres
  • MySQL
  • MsSQL
  • Oracle

A Repository on GitHub

Any repository on GitHub which uses the related database.


Install GitHub App

We suggest selecting specific repositories for security.


Add your database in our dashboard

Head to our Dashboard to start setup.

In the dashboard, you can see your existing repositories from the GitHub app.

Here, you can add your database information.

Once you have added a database, you can connect your desired branches to the database.

This will now work to make pull requests on those branches once schema changes are discovered, to always keep your logic up to date.


Functionality

Once the app is installed and you have linked your database to git branches, your database will be automatically checked for any schema changes on a regular basis.

When a schema change is discovered, we will add a pull request to the branches associated to your repository.

If you have requirements on your repository, head to the connection settings and add any additional instructions there.