Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckLatestVersion ¶
Returns nil if currentVersion corresponds to the latest available migration, otherwise an error explaining why not.
func EnsureClean ¶
EnsureClean checks whether all migrations for the current version have been applied, without making any changes to the database. If not, returns a non-nil error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.