migrations

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package migrations embeds AuthKit's Postgres schema migrations.

Run them with migratekit (github.com/open-rails/migratekit), the same way host applications do — name-tracked per app in public.migrations, so a recorded migration is never re-applied:

ms, _ := migratekit.LoadFromFS(migrations.FS)
m := migratekit.NewPostgres(sqlDB, "authkit")
_ = m.ApplyMigrations(ctx, ms)

Index

Constants

This section is empty.

Variables

View Source
var FS = migrationFS

FS exposes the embedded SQL for external runners.

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