Protocols for defining a migration and data store.
Protocols for defining a migration and data store.
Protocol for a data store that can be migrated.
Protocol for a data store that can be migrated.
(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-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-id store migration-id)
Remove a rolled-back migration ID from the data store.
Remove a rolled-back migration ID from the data store.
Protocol for a migration that can be applied to a DataStore.
Protocol for a migration that can be applied to a DataStore.
(id _)
Return the string identifier of the migration.
Return the string identifier of the migration.
(run-down! _ store)
Run the 'down' part of the migration.
Run the 'down' part of the migration.
(run-up! _ store)
Run the 'up' part of the migration.
Run the 'up' part of the migration.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close