(find-or-create-migration-dir dir)
(find-or-create-migration-dir parent-dir dir)
(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.
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.
(valid-extension? file-name)
Returns true if file-name extension matches one of the file extensions supported by all migration protocols/multimethods implemented
Returns true if file-name extension matches one of the file extensions supported by all migration protocols/multimethods implemented
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close