database

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2016 License: AGPL-3.0 Imports: 17 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

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

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

func Create

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

Create the tables in a blank database

func Migrate

func Migrate(ConfigTableExists bool) 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