NAME

XAS::Apps::Database::Schema - Create a database schema

SYNOPSIS

use XAS::Apps::Database::Schema;

my $app = XAS::Apps::Database::Schema->new();

exit $app->run();

DESCRIPTION

This module will create a schema for the XAS database. It inherits from XAS::Lib::App. Please see that module for additional documentation.

OPTIONS

This modules provides these additional cli options.

--dbtype

The type of database. This can be one of the following:

PostgreSQL 
SQLite
MySQL

Or any other SQL::Translator database name.

--revision

The revision for this schema. Defaults to "0.01".

--directory

The directory to write the schema into. Defaults to "./sql.".

SEE ALSO

XAS::Model
XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (c) 2012-2015 by Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.