Why not adopt me?
NAME
Rubric::DBI::Setup - db initialization routines
VERSION
version 0.10
$Id: Setup.pm,v 1.6 2005/06/01 02:02:55 rjbs Exp $
SYNOPSIS
use strict;
use warnings;
use Rubric::DBI::Setup;
Rubric::DBI::Setup->setup_tables;
DESCRIPTION
METHODS
dbh
This method returns a connection to the Rubric database.
setup_tables
This method builds the tables in the database, if needed.
determine_version
This attempts to determine the version of the database schema to which the given database conforms. All recent schemata store their version number; for older versions, some simple table attributes are checked.
update_schema
This method will try to upgrade the database to the most recent schema. It's sort of ugly, but it works...
TODO
AUTHOR
Ricardo SIGNES, <rjbs@cpan.org>
BUGS
Please report any bugs or feature requests to bug-rubric@rt.cpan.org
, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
COPYRIGHT
Copyright 2004-2005, Ricardo SIGNES. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.