Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mfridman committed May 28, 2023
1 parent 1d5cc23 commit eb00ac2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import (
"errors"
)

// GetDBVersion retrieves the current database version.
// GetDBVersion retrieves the max version applied to the database, regardless of when it was
// applied. If no migrations have been applied, it returns 0.
//
// It is safe for concurrent use.
func (p *Provider) GetDBVersion(ctx context.Context) (_ int64, retErr error) {
Expand Down

0 comments on commit eb00ac2

Please sign in to comment.