1 package DBIx::Class::DeploymentHandler::VersionStorage::Standard;
3 use Method::Signatures::Simple;
6 isa => 'DBIx::Class::Schema',
12 isa => 'DBIx::Class::ResultSet',
14 lazy_build => 1, # builder comes from another role...
15 # which is... probably not how we want it
16 handles => [qw( database_version version_storage_is_installed )],
19 with 'DBIx::Class::DeploymentHandler::HandlesVersionStorage';
21 sub _build_version_rs {
22 $_[0]->schema->set_us_up_the_bomb;
23 $_[0]->schema->resultset('__VERSION')
26 sub add_database_version { $_[0]->version_rs->create($_[1]) }
28 sub install_version_storage { die }
34 vim: ts=2 sw=2 expandtab