DBIx::C...recated(3)
π DBIx::C...recated(3) π
ok so bestie, you've stumbled into DBIx::Class::DeploymentHandler::VersionStorage::Deprecated β a page from the User Contributed Perl Documentation collection. Grab a snack, this one's a little sad but we're gonna get through it together π«Ά
β¨ NAME β¨
DBIx::Class::DeploymentHandler::VersionStorage::Deprecated β (DEPRECATED) use this if you are stuck in the past π°οΈ
π DEPRECATED π
ngl, the author made this module (and a bunch of its sibling modules) begrudgingly π β the whole point was to keep porting from DBIx::Class::Schema::Versioned relatively simple. He'll make changes so it keeps working with output from DBIx::Class::Schema::Versioned and friends, but he is not adding any new features to it. That's the deal. Periodt.
π¨ heads up bestie: once this hits major version 1, using this module will emit a warning. On version 2 it gets removed entirely. So like... plan your glow-up accordingly π
π THIS SUCKS π
okay but here's the tea β this is literally how you convert from that crufty old Deprecated VersionStorage to a shiny new Standard VersionStorage. Copy it, slay it, move on β¨
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;
π«Ά lowkey the main character energy here is you, migrating off a deprecated module. iconic behavior, no cap.
π SEE ALSO π
This class is an implementation of DBIx::Class::DeploymentHandler::HandlesVersionStorage. Pretty much all the documentation lives over there, so go read that one β fr fr, it's where the actual info is at π
π§ AUTHOR π§
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2025 by Arthur Axel "fREW" Schmidt.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
and that's the whole page, bestie π this lil' doc came from perl v5.42.0, dated 2026-01-17 β stay safe out there and go migrate already π¦β¨
π¦ where this page comes from
- fedora 44: perl-DBIx-Class-DeploymentHandler 0.002235-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms