David E. Wheeler > App-Sqitch-0.953 > sqitch-rework

Download:
App-Sqitch-0.953.tar.gz

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: App-Sqitch-0.992

Name ^

sqitch-rework - Rework a database change

Synopsis ^

  sqitch [options] rework [<dependency-options>] name

Description ^

This command allows for the reworking of an existing database change. It is best used only under the following circumstances:

If all of these hold, then feel free to rework an existing change.

In effect, reworking a change is similar to adding one. However, rather than writing new files for the change, the rework command copies the files for the existing change. The new files are named with the tag that comes between the changes, and serves as the file for the original change. This leaves you free to edit the existing files.

Options ^

-r
--requires

Name of a change that is required by the new change. May be specified multiple times. See sqitchchanges for the various ways in which change targets can be specified.

-c
--conflicts

Name of a change that conflicts with the new change. May be specified multiple times. See sqitchchanges for the various ways in which change targets can be specified.

-n
--note

A brief note describing the purpose of the reworking. The note will be attached to the change as a comment. Multiple invocations will be concatenated together as separate paragraphs.

Sqitch ^

Part of the sqitch suite.

syntax highlighting: