Liking cljdoc? Tell your friends :D

migratus.migrations


->kebab-caseclj

(->kebab-case s)
source

createclj

(create config name migration-type)
source

destroyclj

(destroy config name)
source

find-migration-filesclj

(find-migration-files migration-dir exclude-scripts)
source

find-migration-resourcesclj

(find-migration-resources dir jar exclude-scripts)
source

find-migrationsclj

(find-migrations dir exclude-scripts)
source

find-or-create-migration-dirclj

(find-or-create-migration-dir dir)
(find-or-create-migration-dir parent-dir dir)
source

list-migrationsclj

(list-migrations config)
source

make-migrationclj

(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.
sourceraw docstring

migration-file-patternclj

source

migration-mapclj

(migration-map [id name exts] content)
source

parse-migration-idclj

(parse-migration-id id)
source

parse-nameclj

(parse-name file-name)
source

read-migrationsclj

(read-migrations dir exclude-scripts)
source

valid-extension?clj

(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
sourceraw docstring

warn-on-invalid-migrationclj

(warn-on-invalid-migration file-name)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close