Skip to main content

Module migrate

Module migrate 

Source
Expand description

Moving the engine’s store from SQLite to Postgres.

The store holds the workflow runtime, the auth module’s users and keys, and the vault — master KEK included — so all of it is copied with ids and timestamps preserved. A target that already holds rows is refused: merging would have to reconcile ids unique to one side.

Structs§

Plan
Where the store is moving from and to.
Report
What a run copied, per table.
Table
A table to copy, named the same on both sides.
TableCount

Functions§

parse_source
Accept sqlite:<dir>, sqlite://<dir> or a bare directory path, so the flag takes either the config’s backend URL or the data directory an operator can see on the volume.
parse_target
run