DBIx::Class::DeploymentHandler::VersionStorage::Deprecated(3pm)

DBIx::Class::DeploymentHandler::VersionStorage::Deprecated3pm

(deprecated) use this if you are stuck in the past

Deprecated

I begrudgingly made this module (and other related modules) to keep porting from DBIx::Class::Schema::Versioned relatively simple. I will make changes to ensure that it works with output from DBIx::Class::Schema::Versioned etc, but I will not add any new features to it.

Once I hit major version 1 usage of this module will emit a warning. On version 2 it will be removed entirely.

This sucks

Here's how to convert from that crufty old Deprecated VersionStorage to a shiny new Standard VersionStorage:

 my $s  = My::Schema->connect(...);
 my $dh = DeploymentHandler({
   schema => $s,
 });
 $dh->prepare_version_storage_install;
 $dh->install_version_storage;
 my @versions = $s->{vschema}->resultset('Table')->search(undef, {
   order_by => 'installed',
 })->get_column('version')->all;
 $dh->version_storage->add_database_vesion({ version => $_ })
   for @versions;

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Arthur Axel "fREW" Schmidt <[email protected]>

From libdbix-class-deploymenthandler-perl 0.002234-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.