Back

make-migration (clj)

(source)

function

(make-migration config id mig)
Constructs a Migration instance from the merged migration file maps collected by find-migrations. Expected structure for `mig` is: {`migration-name` {`migration-type` payload}} where the structure of `payload` is specific to the migration type.

Examples