migrations

package
v0.106.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package migrations embeds AuthKit's PostgreSQL schema migrations.

Hosts should apply them with migratekit, which owns migration tracking:

\tmigrations, err := migratekit.LoadFromFS(migrationspostgres.FS) \tif err != nil { return err } \terr = migratekit.NewPostgres(db, "authkit").WithSchema(cfg.Schema).ApplyMigrations(ctx, migrations)

Index

Constants

This section is empty.

Variables

View Source
var FS = migrationFS

FS exposes AuthKit's schema-neutral embedded SQL for external runners. migratekit applies it with the configured target schema in search_path.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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