(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |