Tapper Team > Tapper-Cmd-4.1.7 > Tapper::Cmd::DbDeploy

Download:
Tapper-Cmd-4.1.7.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 4.1.7   Source   Latest Release: Tapper-Cmd-4.1.8

NAME ^

Tapper::Cmd::DbDeploy - Tapper - Backend functions for DB deployment

SYNOPSIS ^

This module provides functions to initially set up Tapper in $HOME/.tapper/.

    use Tapper::Cmd::DbDeploy;
    my $cmd = Tapper::Cmd::DbDeploy->new;
    $cmd->dbdeploy("ReportsDB");
    $cmd->dbdeploy("TestrunDB");

NAME ^

Tapper::Cmd::DbDeploy - Tapper - Backend functions for deploying databases

METHODS ^

insert_initial_values($schema, $db)

Insert required minimal set of values.

$self->dbdeploy($db)

Deploy a schema into DB.

$db can be "TestrunDB" or "ReportsDB";

Connection info is determined via Tapper::Config.

TODO: still an interactive tool but interactivity should be migrated back into Tapper::CLI::*.

AUTHOR ^

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..

This is free software, licensed under:

  The (two-clause) FreeBSD License
syntax highlighting: