Affected by GO-2026-5322
and 2 other vulnerabilities
GO-2026-5322: OpenFGA Improper Policy Enforcement in github.com/openfga/openfga
GO-2026-5423: OpenFGA: OIDC audience validation skipped when --authn-oidc-audience is unset in github.com/openfga/openfga
GO-2026-6488: OpenFGA: ListUsers returns a deliberately-excluded user when a `but not` exclusion under a type-bound wildcard is intersected (`and`) with another relation that also grants that user in github.com/openfga/openfga
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
RunMigrations runs the migrations for the given config. This function is exposed to allow embedding openFGA
into applications and manage OpenFGA's database schema migrations directly. When OpenFGA is used as a library,
the embedding application may have its own migration system that differs from OpenFGA's use of goose.
By exposing this function, applications can:
1. Explicitly control when OpenFGA migrations run
2. Integrate OpenFGA's schema updates into their own migration workflows
3. Perform versioned upgrades of the schema as needed
The function handles migrations for multiple database engines (postgres, mysql, sqlite) and supports
both upgrading and downgrading to specific versions.