migrate

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(ctx context.Context, l *zerolog.Logger) error

Migrate streams all data from the Postgres database at cfg.DatabaseUrl() into the SQLite database at cfg.ConfigDir()/koito.db. It runs the SQLite schema migrations first, then aborts if the target already contains data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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