function

WithProjectMigrations

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

Source ridu.go:256

@param driver
Compiled callback registry and adapter-owned project migration runner.
@returns
An option to pass directly to ridu.Execute.

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.

Example

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

Related types

  • ProjectDriver

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

  • ExecuteOption

    One opaque runtime option accepted by Execute.