function
WithProjectMigrations
Register the selected adapter’s compiled migration driver for project commands.
Example
ridu.WithProjectMigrations(sqlite.ProjectMigrations(transforms...))Arguments
| Argument | Type | Description |
|---|---|---|
driver | migration.ProjectDriver | Compiled callback registry and adapter-owned project migration runner. |
Returns
An option to pass directly to ridu.Execute.
ExecuteOptionHow 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
ProjectDriverApplication-compiled callbacks behind adapter-owned project migration commands.
ExecuteOptionOne opaque runtime option accepted by Execute.