Discovers and executes pending data transforms.
The runner acquires a lock (to prevent concurrent execution), discovers
transform files, checks which have already been applied, and executes
pending ones in version order. Each transform block within a file runs
in its own database transaction.
Options
:migration_source- Name of the tracking table. Defaults to"transforms".:lock- Lock module implementingPollard.Lock. Defaults toPollard.Lock.Postgres.:log- Whether to log transform execution. Defaults totrue.
Any extra options are forwarded to the lock module's acquire/2 and
release/2 callbacks.
Summary
Functions
Run all pending transforms found at path against repo.