Skip Menu |

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 57732
Status: resolved
Priority: 0/
Queue: DBIx-Class

Owner: Nobody in particular
Requestors: LEEDO [...]

Bug Information
Severity: Important
Broken in: 0.08121
Fixed in: 0.08122

Subject: dbicadmin --upgrade does not use specified --sql-dir
Download (untitled) / with headers
text/plain 221b
When trying to upgrade a deployed schema with dbicadmin the diff files must currently exist in ./sql, no matter what you specify in --sql-dir. This patch sets the upgrade_directory on the schema before running upgrade.
Subject: upgrade_directory.diff
--- lib/DBIx/Class/ (revision 9414) +++ lib/DBIx/Class/ (working copy) @@ -338,6 +338,7 @@ # schema is unversioned $schema->throw_exception ("Could not determin current schema version, please either install() or deploy().\n"); } else { + $schema->upgrade_directory($self->sql_dir); my $ret = $schema->upgrade(); return $ret; }
Download (untitled) / with headers
text/plain 124b
Thank you for the report. Applied with a slight modification:

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to