S├ębastien Aperghis-Tramoni
and 1 contributors

NAME

Schema::RackTables - Inventory of the database schemas of RackTables

SYNOPSIS

    use Schema::RackTables;

    my $app = Schema::RackTables->new(version => "0.17.11");
    my $schema = $app->schema->connect("dbi:...", "...", "...");

DESCRIPTION

This module is an inventory of the database schemas of the web application RackTables. Following Schema::Bugzilla's principles, it provides access to the database schema of each known version of the software, from 0.14.4 up to 0.20.11.

RATIONALE

The idea behind the Schema family of distributions is to give access to the database schema of each version of the software. This can be useful to compare the different versions, generate documentation, or make an API that can handle all versions. A schema version is defined as the version of the first release that uses it.

METHODS

new

Creates and returns a new object. Expects an parameter version. If not given, will default to the latest known version.

Example:

    my $app = Schema::RackTables->new(version => "0.17.11");

list_versions

Returns the list of known versions.

Example:

    my @versions = Schema::RackTables->list_versions();

ATTRIBUTES

version

The version of the software, as given to new.

schema_version

The version of the schema corresponding to this version of the software.

schema

The name of the DBIx::Class schema.

SUPPORT

The source code is available on Git Hub: https://github.com/maddingue/Schema-RackTables/

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

ACKNOWLEDGEMENT

Upon an idea by Emmanuel Seyman

AUTHOR

Sébastien Aperghis-Tramoni (saper@cpan.org)