database

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2016 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(Db *sqlx.DB, connectionString string, lDB func() (bool, error), ulDB func()) bool

Check that the database is configured correctly and that all the required tables exist. It must be the first function called in the

func Create

func Create(w http.ResponseWriter, r *http.Request)

Create the tables in a blank database

func Migrate

func Migrate(lastMigration string) error

Migrate the database as required, consolidated action.

Types

This section is empty.

Jump to

Keyboard shortcuts

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