mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
15 lines
464 B
Go
15 lines
464 B
Go
|
package migrations
|
||
|
|
||
|
import (
|
||
|
"github.com/ledgerwatch/turbo-geth/common/etl"
|
||
|
"github.com/ledgerwatch/turbo-geth/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)
|
||
|
},
|
||
|
}
|