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.

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

Storecljprotocol

completed-idsclj

(completed-ids this)

Seq of ids of completed migrations.

Seq of ids of completed migrations.

configclj

(config this)

connectclj

(connect this)

Opens resources necessary to run migrations against the store.

Opens resources necessary to run migrations against the store.

disconnectclj

(disconnect this)

Frees resources necessary to run migrations against the store.

Frees resources necessary to run migrations against the store.

initclj

(init this)

Initialize the data store.

Initialize the data store.

migrate-downclj

(migrate-down this migration)

Run and record a down migration

Run and record a down migration

migrate-upclj

(migrate-up this migration)

Run and record an up migration

Run and record an up migration
source

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

× close