Hello!

I'm using versioned schema, and all my attempts to upgrade fails.

I've changed database, created Schema (using catalyst scripts), bumped version of Schema.pm, and tried to run simple code like

if (!$schema->get_db_version()) {
  # schema is unversioned
  $schema->deploy();
} else {
  $schema->upgrade();
}

on different server with the same code and database not upgraded.

It fails

DBIx::Class::Schema::Versioned::upgrade(): Upgrade not possible, no upgrade file found (upgrades/GIMS5-Schema-8.23-8.24-MySQL.sql), please create one


How do I create upgrade file?

Alex


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to