databases

package
v0.0.0-...-d563f25 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Code generated by rice embed-go; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateUp

func MigrateUp()

MigrateUp migrates the database up

Types

type RiceBoxSource

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

RiceBoxSource represents the golang-migrate data source from go.rice Box

func (*RiceBoxSource) Close

func (s *RiceBoxSource) Close() error

Close implements the golang-migrate source driver Close interface

func (*RiceBoxSource) First

func (s *RiceBoxSource) First() (version uint, err error)

First implements the golang-migrate source driver First interface

func (*RiceBoxSource) Next

func (s *RiceBoxSource) Next(version uint) (nextVersion uint, err error)

Next implements the golang-migrate source driver Next interface

func (*RiceBoxSource) Open

func (s *RiceBoxSource) Open(url string) (source.Driver, error)

Open implements the golang-migrate source driver Open interface

func (*RiceBoxSource) PopulateMigrations

func (s *RiceBoxSource) PopulateMigrations(box *rice.Box) error

PopulateMigrations populates all migration files from the go.rice box

func (*RiceBoxSource) Prev

func (s *RiceBoxSource) Prev(version uint) (prevVersion uint, err error)

Prev implements the golang-migrate source driver Prev interface

func (*RiceBoxSource) ReadDown

func (s *RiceBoxSource) ReadDown(version uint) (r io.ReadCloser, identifier string, err error)

ReadDown implements the golang-migrate source driver ReadDown interface

func (*RiceBoxSource) ReadUp

func (s *RiceBoxSource) ReadUp(version uint) (r io.ReadCloser, identifier string, err error)

ReadUp implements the golang-migrate source driver ReadUp interface

Jump to

Keyboard shortcuts

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