NAME
create_schema.pl - this procedure creates a database schema
SYNOPSIS
create_schema.pl [--help] [--debug] [--manual] [--version] [--dbtype]
options:
--dbtype the type of database system
--revision the revison for the schema
--directory the directory to place the schema file
--help outputs simple help text
--manual outputs the procedures manual
--version outputs the apps version
--debug toogles debugging output
--[no]alerts toogles alert notification
DESCRIPTION
This procedure will create the sql schema for the XAS database. By default this is for SQLite.
OPTIONS AND ARGUMENTS
- --dbtype
-
The type of database. This can be one of the following:
PostgreSQL SQLite MySQL
Or any other SQL::Translater database name.
- --revision
-
The revision for this schema. Defaults to "0.01".
- --directory
-
The directory to write the schema into. Defaults to "./sql.".
- --help
-
Displays a simple help message.
- --debug
-
Turns on debbuging.
- --alerts
-
Toggles alert notification. The default is on.
- --manual
-
The complete documentation.
- --version
-
Prints out the apps version
EXIT CODES
0 - success
1 - failure
SEE ALSO
SQL::Translator
XAS::Apps::Database::Schema
AUTHOR
Kevin L. Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (C) 2012 by Kevin L. Esteb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.