Documentation ¶
Overview ¶
Package db contains a variety of utility functions and test helpers for working with Sherlock's database. While we are using Gorm for everyday application-level sql operations, we are opting for golang-migrate in order to provide more robust and reversible sql migrations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyMigrations ¶
ApplyMigrations is a utility function intended for use in integration tests and local development where changelogs can be applied to a local postgres instance during startup
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.