SchemaEvolution - manage the evolution of a database with simple files


version 0.02


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.



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.