update_dbic_dump.pl - developer-only maintenance script to sync this DBIx::Class object layer with the latest upstream version of Chado
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
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.
To install Bio::Chado::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Chado::Schema
CPAN shell
perl -MCPAN -e shell install Bio::Chado::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.