migrate

package
v0.0.0-...-816ca63 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLMigrator

type SQLMigrator struct {
	Config db.SQLConfig
	Logger *slog.Logger
	// contains filtered or unexported fields
}

func (*SQLMigrator) ApplySchema

func (c *SQLMigrator) ApplySchema(s db.Schema, dry_run bool) (err error)

func (*SQLMigrator) Complete

func (c *SQLMigrator) Complete()

func (*SQLMigrator) InitDB

func (c *SQLMigrator) InitDB() (err error)

Jump to

Keyboard shortcuts

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