NAME

SchemaEvolution - SchemaEvolution - manage the evolution of a database with simple files

VERSION

version 0.03

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.

AUTHOR

  Oliver Charles <oliver.g.charles@googlemail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2009 by Oliver Charles.

This is free software, licensed under:

  The Artistic License 2.0