Something went wrong on our end. Please try again.
Created by: efritz
This PR adds a internal/database/migration/store
package that contains a store for running migrations and managing migration state. Today, this re-implements the blocks of logic to mimmic golang-migrate:
Additionally, we ensure that we're not skipping versions ahead or behind by ensuring that the current version is the expected one for the target migration direction. I'm not sure golang-migrate does this, so it's only added security.