migrations

package
v0.0.0-...-3042336 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package migrations embeds the SQL migration files for the kagent database schema and provides the runner that applies them at startup.

Index

Constants

This section is empty.

Variables

Functions

func RunUp

func RunUp(url string, migrationsFS fs.FS, vectorEnabled bool) error

RunUp applies all pending migrations for the given FS. vectorEnabled controls whether the vector track is also applied. Returns an error if any track fails (and attempts rollback of previously applied tracks).

Types

This section is empty.

Jump to

Keyboard shortcuts

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