// DBVersion returns ID of last applied migration
DBVersion returns ID of last applied migration
// DBVersion returns ID of last applied migration
func DBVersion() (uint, error) {
	if dbMigrator == nil {
		return 0, api.ErrNotInitialised
	}
	return dbMigrator.DBVersion()
}
func DBVersion ( ) ( uint , error ) { if dbMigrator == nil { return 0 , api . ErrNotInitialised } return dbMigrator . DBVersion ( ) }
DBVersion returns ID of last applied migration
DBVersion returns ID of last applied migration