NAME
Egg::Helper::Model::DBIC - Helper to generate DBIC schema.
SYNOPSIS
% perl myapp_helper.pl Model:DBIC [SchemaName] -d dbi:Pg:dbname=mydata -u db_user
DESCRIPTION
It is a plug-in to construct Schema from an existing data base with the automatic operation by DBIx::Class::Schema::Loader.
The name of Schema made specifying 'Model:DBIC' for the helper of the project for a mode, and continuously is specified.
And, the following options are given.
-d
DNS of connected data base.
-s
Host address of connected data base.
-i
Port number of connected data base.
-u
Account for data base.
-p
Password for data base.
% perl myapp_helper.pl Model:DBIC MySchema \
-d dbi:Pg:dbname=mydata \
-s 192.168.1.1 \
-p 5432 \
-u db_user \
-p db_password
* When Schema of the same name already exists Egg::Plugin::File::Rotate. And, Schema is newly generated. Even if an original code is included in Schema before, it is not reflected in new Schema.
Please see the document of Egg::Model::DBIC.
SEE ALSO
DBIx::Class::Schema::Loader, Egg::Model::DBIC, Egg::Plugin::File::Rotate, Egg::Release,
AUTHOR
Masatoshi Mizuno <lushe@cpan.org>
COPYRIGHT
Copyright (C) 2007 by Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
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.6 or, at your option, any later version of Perl 5 you may have available.