Documentation ¶
Index ¶
Constants ¶
View Source
const UpdateFromPreClustering = 36
UpdateFromPreClustering is the last schema version where clustering support was not available, and hence no cluster dqlite database is used.
Variables ¶
View Source
var UpdateFromV16 = updateFromV16
UpdateFromV16 is used by a legacy test in the parent package.
Functions ¶
func EnsureSchema ¶
EnsureSchema applies all relevant schema updates to the node-local database.
Return the initial schema version found before starting the update, along with any error occurred.
func FreshSchema ¶
func FreshSchema() string
FreshSchema returns the fresh schema definition of the local database.
func SchemaDotGo ¶
func SchemaDotGo() error
SchemaDotGo refreshes the schema.go file in this package, using the updates defined here.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.