Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DuckdbSafeMigration string
View Source
var DuckdbUpMigration string
View Source
var DuckdbViewsMigration string
Functions ¶
func RunMigration ¶
RunMigration executes the migration string on the DuckDB connection. Returns an error, if any.
func RunSafeMode ¶
RunSafeMode locks the database down with the DuckdbSafeMigration. Returns an error, if any
Types ¶
type MigrationInfo ¶
type MigrationInfo struct {
HomeDir string
}
MigrationInfo holds data to be injected by our migration template
Click to show internal directories.
Click to hide internal directories.