# Functions
AssertIndex validates that the index exists.
AssertTableColumnsEqual is well-named.
CheckDatabaseExistsWithNewConnection is well-named.
CheckTableExists is well-named.
ConnectInitializedDatabase creates a database with the required metadata tables.
GetNumTablesInDb is well-named.
GetTableIndexes is well-named.
GetTableSchema is well-named.
MakeUpgradeScript encapsulates a script to be run to upgrade the database from one version to the next.
PostTestWithDbClose logic for tests related to db upgrades.
PreTest logic for tests related to db upgrades.
QueryAllRows queries all the rows of a given table in a database.
query helper functions
*/ QueryDbVersion queries for the version of the database.
RunUpgradeScripts is a utility function that can be run from outside this package so we need to export it.
ValidateDBVersionRow is well-named.
# Variables
No description provided by the author
# Structs
TableColumn is a column in a table specefied generically.
UpgradeScript encapsulates a script to be run to upgrade the database from one version to the next.
# Type aliases
IndexSearchResult captures the result from GetTableIndexes() and is used as input to AssertIndex().