goose icon indicating copy to clipboard operation
goose copied to clipboard

migrations statuses func

Open w1kend opened this issue 3 years ago • 0 comments

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.

  1. looks like the Migrations type should have this function
func (ms Migrations) Records() ([]MigrationRecord, error) {}
  1. add a tstamp to query in dbVersionQuery(db *sql.DB) in case that someone needs it.

w1kend avatar Aug 28 '22 07:08 w1kend