Module for applying changes to migrations and db. Also contains tools for inspection of db state by migrations and state of migrations itself.
Module for applying changes to migrations and db. Also contains tools for inspection of db state by migrations and state of migrations itself.
(explain {:keys [migrations-dir number direction]
explain-format :format
:or {direction FORWARD-DIRECTION
explain-format EXPLAIN-FORMAT-SQL
migrations-dir MIGRATIONS-DIR}})
Generate raw sql or human-readable text from migration.
Generate raw sql or human-readable text from migration.
(list-migrations {:keys [jdbc-url migrations-dir migrations-table]
:or {migrations-table MIGRATIONS-TABLE
migrations-dir MIGRATIONS-DIR}})
Print migration list with status.
Print migration list with status.
(migrate {:keys [migrations-dir jdbc-url number migrations-table]
:or {migrations-table MIGRATIONS-TABLE
migrations-dir MIGRATIONS-DIR}})
Run migration on a db.
Run migration on a 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 |