Schema::RackTables - Inventory of the database schemas of RackTables
use Schema::RackTables; my $app = Schema::RackTables->new(version => "0.17.11"); my $schema = $app->schema->connect("dbi:...", "...", "...");
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.
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.
Schema
Creates and returns a new object. Expects an parameter version. If not given, will default to the latest known version.
version
Example:
my $app = Schema::RackTables->new(version => "0.17.11");
Returns the list of known versions.
my @versions = Schema::RackTables->list_versions();
The version of the software, as given to new.
new
The version of the schema corresponding to this version of the software.
The name of the DBIx::Class schema.
The source code is available on Git Hub: https://github.com/maddingue/Schema-RackTables/
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Upon an idea by Emmanuel Seyman
Sébastien Aperghis-Tramoni (saper@cpan.org)
To install Schema::RackTables, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Schema::RackTables
CPAN shell
perl -MCPAN -e shell install Schema::RackTables
For more information on module installation, please visit the detailed CPAN module installation guide.