function

WithProjectMigrations

Register the selected adapter’s compiled migration driver for project commands.

Example

go
ridu.WithProjectMigrations(sqlite.ProjectMigrations(transforms...))

Arguments

ArgumentTypeDescription
drivermigration.ProjectDriverCompiled callback registry and adapter-owned project migration runner.

Returns

An option to pass directly to ridu.Execute.

ExecuteOption

How it works

The driver is used only by project migration commands whose artifacts contain compiled data callbacks. It is not used by schema generation or the ordinary HTTP runtime.

Full signature

Related types

  • ProjectDriver

    Application-compiled callbacks behind adapter-owned project migration commands.

  • ExecuteOption

    One opaque runtime option accepted by Execute.