migration

package
v0.0.0-...-9b56418 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package migration contains all the necessary code for the creation and population of the database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(db *sql.DB, catalog string) error

Types

type Scripts

type Scripts [][]string

func Steps

func Steps() Scripts

func (Scripts) Asset

func (s Scripts) Asset(name string) ([]byte, error)

func (Scripts) AssetNameWithArgs

func (s Scripts) AssetNameWithArgs() [][]string

Jump to

Keyboard shortcuts

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