Documentation
¶
Overview ¶
Package testdb provides isolated migrated database fixtures for tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneMigratedSQLite ¶
CloneMigratedSQLite copies the migrated template database into t.TempDir and returns the cloned database path.
func NewMigratedPostgres ¶ added in v1.28.0
NewMigratedPostgres returns an isolated migrated PostgreSQL schema when QUI_TEST_POSTGRES_DSN is configured, otherwise it skips the calling test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.