XAS::Apps::Database::Schema - Create a database schema
use XAS::Apps::Database::Schema; my $app = XAS::Apps::Database::Schema->new(); exit $app->run();
This module will create a schema for the XAS database. It inherits from XAS::Lib::App. Please see that module for additional documentation.
This modules provides these additional cli options.
The type of database. This can be one of the following:
PostgreSQL SQLite MySQL
Or any other SQL::Translator database name.
The revision for this schema. Defaults to "0.01".
The directory to write the schema into. Defaults to "./sql.".
Kevin L. Esteb, <kevin@kesteb.us>
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.
To install XAS::Model, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAS::Model
CPAN shell
perl -MCPAN -e shell install XAS::Model
For more information on module installation, please visit the detailed CPAN module installation guide.