GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DBICX::DEPLOY (3)

.ds Aq ’

NAME

DBICx::Deploy - deploy a DBIx::Class schema

CONTENTS

SYNOPSIS



   use DBICx::Deploy;
   DBICx::Deploy->deploy(My::Schema => DBI:SQLite:root/database);



or



   $ dbicdeploy -Ilib My::Schema DBI:SQLite:root/database



METHODS

deploy($schema, CW$dsn, CW@args)

Loads the DBIC schema $schema, connects to $dsn (with extra args @args like username, password, and options), and deploys the schema. Dies on failure.

If $dsn doesn’t start with DBI, deploy assumes that you want to write the SQL to generate the schema to a directory called $dsn. If $dsn doesn’t exist, it (and its parents) will be created for you.

When deploying to SQL files, @args is a list of database engines you want to generate SQL for. It defauts to MySQL, SQLite, and PostgreSQL. See SQL::Translator for a list of possible engines.

SEE ALSO

dbicdeploy, included with this distribution.

AUTHOR

Jonathan Rockway <jrockway@cpan.org>

CONTRIBUTORS

The following people have contributed code or bug reports:
Brian Cassidy
Andreas Marienborg
Pedro Melo
Thanks!

LICENSE

This program is free software. You may redistribute it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DBICX::DEPLOY (3) 2007-10-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.