Documentation
¶
Overview ¶
Package schema handles SQLite database schema creation and migration.
Index ¶
Constants ¶
View Source
const CurrentVersion = 1
CurrentVersion is the current schema version.
View Source
const FTSSchema = `` /* 1145-byte string literal not displayed */
FTSSchema contains the full-text search virtual table DDL.
View Source
const Schema = `` /* 1625-byte string literal not displayed */
Schema contains all DDL statements for the clarification database.
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
GetVersion returns the current schema version, or 0 if not initialized.
func Initialize ¶
Initialize creates the database schema if it doesn't exist. Returns the current schema version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.