(migrate db migration-dir)
Migrate 'db' using migratus with a given 'migration-dir'.
Migrate 'db' using migratus with a given 'migration-dir'.
(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).
(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.
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close