Liking cljdoc? Tell your friends :D
Clojure only.

ragtime.protocols

Protocols for defining a migration and data store.

Protocols for defining a migration and data store.
raw docstring

DataStorecljprotocol

Protocol for a data store that can be migrated.

Protocol for a data store that can be migrated.

add-migration-idclj

(add-migration-id store migration-id)

Add an applied migration ID to the data store.

Add an applied migration ID to the data store.

applied-migration-idsclj

(applied-migration-ids store)

Return an ordered list of ids of all migrations applied to the data store.

Return an ordered list of ids of all migrations applied to the data store.

remove-migration-idclj

(remove-migration-id store migration-id)

Remove a rolled-back migration ID from the data store.

Remove a rolled-back migration ID from the data store.
sourceraw docstring

Migrationcljprotocol

Protocol for a migration that can be applied to a DataStore.

Protocol for a migration that can be applied to a DataStore.

idclj

(id _)

Return the string identifier of the migration.

Return the string identifier of the migration.

run-down!clj

(run-down! _ store)

Run the 'down' part of the migration.

Run the 'down' part of the migration.

run-up!clj

(run-up! _ store)

Run the 'up' part of the migration.

Run the 'up' part of the migration.
sourceraw docstring

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

× close