migration

package
v0.0.0-...-f97ce34 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlterTable

func AlterTable(field light.Field) string

func CreateTable

func CreateTable(table light.Table) string

func StreamAlterTable

func StreamAlterTable(qw422016 *qt422016.Writer, field light.Field)

func StreamCreateTable

func StreamCreateTable(qw422016 *qt422016.Writer, table light.Table)

func WriteAlterTable

func WriteAlterTable(qq422016 qtio422016.Writer, field light.Field)

func WriteCreateTable

func WriteCreateTable(qq422016 qtio422016.Writer, table light.Table)

Types

type Migrator

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

func NewMigrator

func NewMigrator(db *sqlx.DB) *Migrator

func (*Migrator) Migrate

func (m *Migrator) Migrate() error

Jump to

Keyboard shortcuts

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