NAME
update_dbic_dump.pl - developer-only maintenance script to sync this DBIx::Class object layer with the latest upstream version of Chado
DESCRIPTION
NOTE: this script is intended for use only by the Bio::Chado::Schema maintainers.
This script basically:
- checks out a clean chado schema copy (unless you pass --chado-checkout=)
- drops all tables from the target database
- parses the chado module metadata
- uses DBIx::Class::Schema::Loader::make_schema_at() to update the
dumped modules in lib/ with any schema changes
SYNOPSIS
update_dbic_dump.pl [options]
Options:
-r <rev>
--revision=<rev>
chado SVN revision to use. Default HEAD.
-d <dsn>
--dsn=<dsn>
DBI dsn of an empty database to use as temp storage for loading
and dumping. WILL DELETE THIS ENTIRE DATABASE. Note that the
user name and password used to connect to the database also
goes here.
Example:
-d 'dbi:Pg:dbname=cxgn;host=localhost;user=somebody;password=something'
-c <dir>
--chado-checkout=<dir>
optional path to existing chado checkout to use. if passed,
will not check out a new copy from SVN.
MAINTAINER
Robert Buels, <rmb32@cornell.edu>
AUTHOR
Robert Buels, <rmb32@cornell.edu>
COPYRIGHT & LICENSE
Copyright 2009 Boyce Thompson Institute for Plant Research
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.