NAME

DBIO::DeploymentHandler::VersionStorage::Standard::Component - Attach this component to your schema to ensure you stay up to date

VERSION

version 0.900004

DESCRIPTION

Schema component. Load it into a schema that is managed by DBIO::DeploymentHandler:

__PACKAGE__->load_components(
  '+DBIO::DeploymentHandler::VersionStorage::Standard::Component'
);

METHODS

attach_version_storage

Registers DBIO::DeploymentHandler::VersionStorage::Standard::VersionResult as the __VERSION source of the schema.

connection

Component override. After the normal connection, calls "attach_version_storage", then -- unless the connect attributes carry ignore_version or DBIO_NO_VERSION_CHECK is set in the environment -- carps if the database has no version table ("unversioned") or if its latest version differs from the schema version. Returns the schema.

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.