NAME

SchemaEvolution - manage the evolution of a database with simple files

VERSION

version 0.01

DESCRIPTION

SchemaEvolution is a very basic tool to cope with evolving a database schema over time. Rather than hook in with any specific framework, this is nothing more than a single table to track the version of database, and a set of scripts to move from one version to another.

METHODS

run

Runs the schema evolution process, with settings from the configuration options. This is the entry point of the 'evolve' script.

apply_evolution $filename

Applies a single evolution pointed to by $filename (raw SQL), and returns the new version of the schema.

evolutions_after_version $version

Returns all the evolution filenames that are after $version.