goose
goose copied to clipboard
migrations statuses func
Hi! Someone asked in #255 about having function for getting migration statuses.
So if you want to have this func we can discuss it, because I have some thoughts additionally to the changes.
- looks like the
Migrationstype should have this function
func (ms Migrations) Records() ([]MigrationRecord, error) {}
- add a tstamp to query in
dbVersionQuery(db *sql.DB)in case that someone needs it.