1 package DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResult;
3 # ABSTRACT: The typical way to store versions in the database
8 use parent 'DBIx::Class::Core';
10 __PACKAGE__->table('dbix_class_deploymenthandler_versions');
12 __PACKAGE__->add_columns (
15 is_auto_increment => 1,
18 data_type => 'varchar',
19 # size needs to be at least
20 # 40 to support SHA1 versions
33 __PACKAGE__->set_primary_key('id');
34 __PACKAGE__->add_unique_constraint(['version']);
35 __PACKAGE__->resultset_class('DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResultSet');
39 # vim: ts=2 sw=2 expandtab