Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStartupBackup ¶
CreateStartupBackup creates an automatic backup before migrations run. It reads the backup_auto_on_startup setting directly via raw SQL to avoid service layer dependencies. Skips silently on fresh databases (no settings table).
func DefaultDBPath ¶
DefaultDBPath returns the default database path (~/.daedalus/daedalus.db).
func Open ¶
Open opens or creates a SQLite database at the given path. It configures WAL mode, foreign keys, and busy timeout.
func RunMigrations ¶
RunMigrations applies the embedded schema to the database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.