Manual Reference Pages - DBICX::DEPLOY (3)
DBICx::Deploy - deploy a DBIx::Class schema
DBICx::Deploy->deploy(My::Schema => DBI:SQLite:root/database);
$ dbicdeploy -Ilib My::Schema DBI:SQLite:root/database
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 doesnt start with DBI, deploy assumes that you want
to write the SQL to generate the schema to a directory called $dsn.
If $dsn doesnt exist, it (and its parents) will be created for
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.
dbicdeploy, included with this distribution.
Jonathan Rockway <firstname.lastname@example.org>
The following people have contributed code or bug reports:
This program is free software. You may redistribute it under the same
terms as Perl itself.
|perl v5.20.3 ||DBICX::DEPLOY (3) ||2007-10-09 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.