Migration component that allows you to apply migrations to the database and record the status of migrations applied. If one of the migrations is not applied, all applied migrations are cancelled.
Add migrate as a dependency to the project
go get gitlab.com/rathil/migrate@v1
Install migrate as a cli program
go install gitlab.com/rathil/migrate/cmd/migrate@v1