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
               migrations-dir MIGRATIONS-DIR}})

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

make-migrationcljmultimethod

source

migrateclj

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

migration->actionscljmultimethod

source

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

× close