code: func (db *DB) SchemaVersion() (int, error) {
  	sql := `select version from schema_migrations order by version desc limit 1`
  	var schemaVersion int
  	err := db.DB.DB().QueryRow(sql).Scan(&schemaVersion)
  	return schemaVersion, err
  }
docs: // SchemaVersion returns the current schema version.