migrate

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: MIT Imports: 4 Imported by: 0

README

GoZix SQL Migrate

Dependencies

Documentation

Overview

Package migrate provide sql-migrate bundle.

Index

Constants

View Source
const BundleName = "sql-migrate"

BundleName is default definition name.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

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

Bundle implements the glue.Bundle interface.

func NewBundle

func NewBundle(options ...Option) (b *Bundle)

NewBundle create bundle instance.

func (*Bundle) Build

func (b *Bundle) Build(builder *di.Builder) error

Build implements the glue.Bundle interface.

func (*Bundle) DependsOn

func (b *Bundle) DependsOn() []string

DependsOn implements the glue.DependsOn interface.

func (*Bundle) Name

func (b *Bundle) Name() string

Name implements the glue.Bundle interface.

type Option

type Option interface {
	// contains filtered or unexported methods
}

Option interface.

func Connection

func Connection(value string) Option

Connection option.

func Path

func Path(value string) Option

Path option.

func Schema

func Schema(value string) Option

Schema option.

func Table

func Table(value string) Option

Table option.

Directories

Path Synopsis
internal
command
Package command contains cli command definitions.
Package command contains cli command definitions.

Jump to

Keyboard shortcuts

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