migrations

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrateCreator

type MigrateCreator struct {
}

func (MigrateCreator) Create

func (receiver MigrateCreator) Create(name string, table string, create bool)

Create Create a new migration

type MigrateStubs

type MigrateStubs struct {
}

func (MigrateStubs) CreateDown

func (receiver MigrateStubs) CreateDown() string

CreateDown Create down migration content.

func (MigrateStubs) CreateUp

func (receiver MigrateStubs) CreateUp() string

CreateUp Create up migration content.

func (MigrateStubs) UpdateDown

func (receiver MigrateStubs) UpdateDown() string

UpdateDown Update down migration content.

func (MigrateStubs) UpdateUp

func (receiver MigrateStubs) UpdateUp() string

UpdateUp Update up migration content.

Jump to

Keyboard shortcuts

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