v5

package
v4.0.1-0...-868bbd5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageRow

type MessageRow struct {
	TransactionHash           string `db:"transaction_hash"`
	Index                     int64  `db:"index"`
	Type                      string `db:"type"`
	Value                     string `db:"value"`
	InvolvedAccountsAddresses string `db:"involved_accounts_addresses"`
	Height                    int64  `db:"height"`
}

type Migrator

type Migrator struct {
	SQL *sqlx.DB
}

Migrator represents the database migrator that should be used to migrate from v4 of the database to v5

func NewMigrator

func NewMigrator(db *postgresql.Database) *Migrator

func (*Migrator) Migrate

func (db *Migrator) Migrate() error

Migrate implements database.Migrator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL