migration

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBMigration

type DBMigration struct {
	// contains filtered or unexported fields
}

DBMigration user storage in bolt

func NewDBMigration

func NewDBMigration(sugar *zap.SugaredLogger, dbPath string, postgres *sqlx.DB) (*DBMigration, error)

NewDBMigration connect to bolt db

func (*DBMigration) Migrate

func (dbm *DBMigration) Migrate() error

Migrate read data from bolt database file and input into postgres database

Jump to

Keyboard shortcuts

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