database

package
v0.0.0-...-0c6208a Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: EUPL-1.2 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateDown

func MigrateDown(db *sql.DB) error

MigrateDown rolls back the last migration.

func MigrateReset

func MigrateReset(db *sql.DB) error

MigrateReset rolls back all migrations.

func Open

func Open(dsn string) (*sqlx.DB, error)

Open creates a new database connection with optimized SQLite settings.

func RunMigrations

func RunMigrations(db *sql.DB) error

RunMigrations runs all pending goose migrations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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