Liking cljdoc? Tell your friends :D

automigrate.migrations

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.
raw docstring

EMPTY-SQL-MIGRATION-TYPEclj

source

exec-action!cljmultimethod

source

explainclj

(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.
sourceraw docstring

explain*cljmultimethod

source

list-migrationsclj

(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.
sourceraw docstring

make-migrationcljmultimethod

source

migrateclj

(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.
sourceraw docstring

migration->actionscljmultimethod

source

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

× close