migrations

package
v0.0.0-...-c0e9d1d Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSchemaCommand

func CreateSchemaCommand(db *gorm.DB) *cli.Command

Types

type SchemaMigrations

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

func NewSchemaMigrations

func NewSchemaMigrations(db *gorm.DB) *SchemaMigrations

func (*SchemaMigrations) Run

func (m *SchemaMigrations) Run(ctx context.Context, db *gorm.DB, command string, args ...string) error

Jump to

Keyboard shortcuts

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