Liking cljdoc? Tell your friends :D

migratus.protocols


get-all-supported-extensionsclj

(get-all-supported-extensions)

Returns a seq of all the file extensions supported by all migration protocols

Returns a seq of all the file extensions supported by all migration protocols
sourceraw docstring

get-extension*cljmultimethod

Dispatcher to get the supported file extension for this migration

Dispatcher to get the supported file extension for this migration
sourceraw docstring

make-migration*cljmultimethod

Dispatcher to create migrations based on filename extension. To add support for a new migration filename type, add a new defmethod for this.

Dispatcher to create migrations based on filename extension. To add support
for a new migration filename type, add a new defmethod for this.
sourceraw docstring

make-storecljmultimethod

source

Migrationcljprotocol

downclj

(down this config)

Bring this migration down.

Bring this migration down.

idclj

(id this)

Id of this migration.

Id of this migration.

migration-typeclj

(migration-type this)

Type of this migration.

Type of this migration.

nameclj

(name this)

Name of this migration

Name of this migration

tx?clj

(tx? this direction)

Whether this migration should run in a transaction.

Whether this migration should run in a transaction.

upclj

(up this config)

Bring this migration up.

Bring this migration up.
source

migration-files*cljmultimethod

Dispatcher to get a list of filenames to create when creating new migrations

Dispatcher to get a list of filenames to create when creating new migrations
sourceraw docstring

squash-migration-files*cljmultimethod

Dispatcher to read a list of files and squash them into a single migration file

Dispatcher to read a list of files and squash them into a single migration file
sourceraw docstring

Storecljprotocol

completed-idsclj

(completed-ids this)

Seq of ids of completed migrations in descending order of applied date.

Seq of ids of completed migrations in descending order of applied
date.

migrate-upclj

(migrate-up this migration)

Run and record an up migration

Run and record an up migration

migrate-downclj

(migrate-down this migration)

Run and record a down migration

Run and record a down migration

initclj

(init this)

Initialize the data store.

Initialize the data store.

configclj

(config this)

completedclj

(completed this)

Seq of applied migrations in descending order of applied date.

Seq of applied migrations in descending order of applied
date.

connectclj

(connect this)

Opens resources necessary to run migrations against the store.

Opens resources necessary to run migrations against the store.

squashclj

(squash this ids name)

Squash a batch of migrations into a single migration

Squash a batch of migrations into a single migration

disconnectclj

(disconnect this)

Frees resources necessary to run migrations against the store.

Frees resources necessary to run migrations against the store.
source

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

× close