Skip to content

How to destroy a migration

macourtney edited this page Sep 13, 2010 · 3 revisions

Added for version: 0.4
Updated for version: 0.7

To destroy a migration called ‘create-messages’ use:

lein conjure destroy migration create-messages

Destroy will delete the first file with any migration number and name ‘create_messages’. For example, if the create-messages migration is number 2, then destroy will delete the file named ‘002_create_messages.clj’ in the directory db/migrate

Clone this wiki locally