dbmigration

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLMigration

func NewSQLMigration(db *gorm.DB, folder string, logger logger.Logger, opts ...Opt) *sqlMigration

Types

type Opt

type Opt func(*sqlMigration)

func WithEnv

func WithEnv(env string) Opt

func WithTableName

func WithTableName(s string) Opt

Jump to

Keyboard shortcuts

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