appdatabase

package
v0.176.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeDB

func InitializeDB(path, password string, kdfIterationsNumber int) (*sql.DB, error)

InitializeDB creates db file at a given path and applies migrations.

func MigrateV3ToV4 added in v0.158.0

func MigrateV3ToV4(v3Path string, v4Path string, password string, kdfIterationsNumber int, onStart func(), onEnd func()) error

Types

type DbInitializer added in v0.163.14

type DbInitializer struct {
}

func (DbInitializer) Initialize added in v0.163.14

func (a DbInitializer) Initialize(path, password string, kdfIterationsNumber int) (*sql.DB, error)

Directories

Path Synopsis
sql
sql

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL