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.
Click to show internal directories.
Click to hide internal directories.