erigon-pulse/migrations/db_schema_version.go
Alex Sharov 0be3044b7e
rename (#1978)
* rename

* rename "make grpc"

* rename "abi bindings templates"

* rename "abi bindings templates"
2021-05-20 19:25:53 +01:00

15 lines
456 B
Go

package migrations
import (
"github.com/ledgerwatch/erigon/common/etl"
"github.com/ledgerwatch/erigon/ethdb"
)
var dbSchemaVersion = Migration{
Name: "db_schema_version",
Up: func(db ethdb.Database, tmpdir string, progress []byte, CommitProgress etl.LoadCommitHandler) (err error) {
// This migration is no-op, but it forces the migration mechanism to apply it and thus write the DB schema version info
return CommitProgress(db, nil, true)
},
}