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}})
Generate raw sql or human-readable text from migration.
Generate raw sql or human-readable text from migration.
(list-migrations {:keys [migrations-dir jdbc-url migrations-table]
:or {migrations-table db-util/MIGRATIONS-TABLE}})
Print migration list with status.
Print migration list with status.
(migrate {:keys [migrations-dir jdbc-url number migrations-table]
:or {migrations-table db-util/MIGRATIONS-TABLE}})
Run migration on a db.
Run migration on a db.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close