Liking cljdoc? Tell your friends :D

puppetlabs.jdbc-util.migration


migrateclj

(migrate db migration-dir)

Migrate 'db' using migratus with a given 'migration-dir'.

Migrate 'db' using migratus with a given 'migration-dir'.
sourceraw docstring

migrate-until-just-beforeclj

(migrate-until-just-before db migration-dir migration-id)

Like 'migrate' but only migrates up to the given migration-id (non-inclusive).

Like 'migrate' but only migrates up to the given
migration-id (non-inclusive).
sourceraw docstring

spec->migration-db-specclj

(spec->migration-db-spec db-config)

Given a user defined database config, transform the config into a db-spec appropriate for passing to migratus's migrate function.

Given a user defined database config, transform the config into a db-spec
appropriate for passing to migratus's migrate function.
sourceraw docstring

uncompleted-migrationsclj

(uncompleted-migrations db migration-dir)

Returns a list of migrations in migration-dir that haven't run in db

Returns a list of migrations in migration-dir that haven't run in db
sourceraw docstring

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

× close