diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 9124fe063..2a2eeddfe 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -13,7 +13,7 @@ import ( // NewProvider returns a new goose Provider. // -// storageFactory are available in the [storage] package (e.g. storage.Sqlite3). +// storageFactory implementations are available in the [storage] package (e.g. storage.Sqlite3). // // fsys is the filesystem used to read the migration files. Most users will want to use // os.DirFS("path/to/migrations") to read migrations from the local filesystem. However, it is diff --git a/storage/common.go b/storage/common.go index da9635dd7..0c44bbd6d 100644 --- a/storage/common.go +++ b/storage/common.go @@ -38,12 +38,6 @@ func (q queries) DeleteVersion(ctx context.Context, db state.DB, version int64) return err } -// DeleteVersionNoTx implements Store. -func (q queries) DeleteVersionNoTx(ctx context.Context, db state.DB, version int64) error { - _, err := db.ExecContext(ctx, q.deleteVersion, version) - return err -} - // GetMigration implements Store. func (q queries) GetMigration(ctx context.Context, db state.DB, version int64) (*state.GetMigrationResult, error) { var timestamp time.Time