Why not adopt me?
NAME
Rubric::DBI::Setup - db initialization routines
VERSION
version 0.157
SYNOPSIS
use strict;
use warnings;
use Rubric::DBI::Setup;
Rubric::DBI::Setup->setup_tables;
DESCRIPTION
PERL VERSION
This code is effectively abandonware. Although releases will sometimes be made to update contact info or to fix packaging flaws, bug reports will mostly be ignored. Feature requests are even more likely to be ignored. (If someone takes up maintenance of this code, they will presumably remove this notice.) This means that whatever version of perl is currently required is unlikely to change -- but also that it might change at any new maintainer's whim.
METHODS
dbh
This method returns a connection to the Rubric database.
setup_tables
This method builds the tables in the database, if needed.
specialize_sql
attempts to convert the given sql syntax to the given DBD Driver's
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.
determine_db_type
Returns the type of db being used, based on the DSN's DBD driver. SQLite and Pg support only right now.
update_schema
This method will try to upgrade the database to the most recent schema. It's sort of ugly, but it works...
AUTHOR
Ricardo SIGNES <rjbs@semiotic.systems>
COPYRIGHT AND LICENSE
This software is copyright (c) 2004 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.