Liking cljdoc? Tell your friends :D

magnet.duct.stork


ensure-all-install!clj

(ensure-all-install! conn migrations logger)

Ensures that all provided migrations are installed. conn must be a valid Datomic connection. Logs to logger all the migrations that cannot be installed.

Ensures that all provided `migrations` are installed.
`conn` must be a valid Datomic connection. Logs to `logger` all the
migrations that cannot be installed.
sourceraw docstring

get-all-migrationsclj

(get-all-migrations migration-files logger)

Returns a vector of migrations from the migration-files collection. The collection must contain paths to resource files in .edn format. Logs to logger all the migration files that cannot be opened or are not valid .edn files. Those files are not part of the returned vector.

Returns a vector of migrations from the `migration-files` collection.
The collection must contain paths to resource files in .edn format.
Logs to `logger` all the migration files that cannot be opened or
are not valid .edn files. Those files are not part of the returned
vector.
sourceraw docstring

migrations-statusclj

(migrations-status conn migrations)

Get the status of each of the provided migrations. conn must be a valid Datomic connection. Returns a map with the following structure:

  • keys are the migrations' :id values
  • values are the migrations' statuses (true if installed, false otherwise)
Get the status of each of the provided `migrations`.
`conn` must be a valid Datomic connection. Returns a map with the
following structure:

* keys are the migrations' :id values
* values are the migrations' statuses (true if installed, false
  otherwise)
sourceraw docstring

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

× close