Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Migrate ¶
Migrate attempts to bring the schema for db up to date with the migrations defined in this package.
func Seed ¶
Seed runs the set of seed-data queries against db. The queries are ran in a transaction and rolled back if any fail.
func StatusCheck ¶
StatusCheck returns nil if it can successfully talk to the database. It returns a non-nil error otherwise. This forces a round trip to the database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.