
    Kapooya: Database migrations for Clojure projects

    Usage:

    lein kap help
      Print a short help message (default)

    lein kap init
      Creates directories that are required by Kapooya (Nondestructive).

    lein kap migrate
      Run the `up` method for all outstanding migrations sorted by filename (which starts with a timestamp).

    lein kap rollback
      Run the `down` method for the most recent migration.

    lein kap generate custom
      Creates a new migration shell ready to be completed with some custom code.

    lein kap generate create-table table-name
      Creates a new migration to create a table.

    lein kap generate drop-table table-name
      Creates a new migration to drop a table.

    lein kap generate add-column table-name column-name [column-type]
      Creates a new migration to add a column to a table. Column type defaults to `character varying(255)`.

    lein kap generate drop-column table-name column-name [column-type]
      Creates a new migration to drop a column from a table.

    lein kap generate create-index table-name column-name
      Creates a new migration to create an index.

    lein kap generate drop-index table-name column-name
      Creates a new migration to drop an index.
