liquibase

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "v0.0.1"

Variables

This section is empty.

Functions

func BuildRunArgsFor

func BuildRunArgsFor(environment string) ([]string, error)

Types

type Migration

type Migration struct {
	Name    string
	Version string
	Type    string

	UpSQL   template.HTML
	DownSQL template.HTML
}

func (Migration) Write

func (m Migration) Write(path string) error

func (*Migration) XML

func (m *Migration) XML() (string, error)

type Translator

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

Translator takes the job of translating fizz migrations

func NewTranslator

func NewTranslator(path string) Translator

func (*Translator) Convert

func (t *Translator) Convert(path string) (string, error)

func (*Translator) LoadMigrations

func (t *Translator) LoadMigrations()

func (*Translator) Translate

func (t *Translator) Translate(path string) error

Jump to

Keyboard shortcuts

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