chickadee » nomads » migrate

migrate #!key (version 'latest) (callback default-callback)procedure

This procedure starts the migration process. It migrates from the currently active version to version. Depending on the active version the migrations run downwards or upwards executing the DOWN and UP portion of the files respectively. After each check-point (a single migration) callback is invoked. If you do not specify this argument the default-handler will just print which migration have been executed along with the status of their execution.