1 package DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResultSet;
6 use parent 'DBIx::Class::ResultSet';
10 sub version_storage_is_installed {
12 try { $self->next; 1 } catch { undef }
15 sub database_version {
17 $self->search(undef, {
18 order_by => { -desc => 'id' },
20 })->get_column('version')->next;
25 # vim: ts=2 sw=2 expandtab