various doc
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / VersionStorage / Standard / VersionResult.pm
index f3ce125..6cba956 100644 (file)
@@ -1,5 +1,7 @@
 package DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResult;
 
+# ABSTRACT: The typical way to store versions in the database
+
 use strict;
 use warnings;
 
@@ -8,7 +10,7 @@ use parent 'DBIx::Class::Core';
 __PACKAGE__->table('dbix_class_deploymenthandler_versions');
 
 __PACKAGE__->add_columns (
-  installed => {
+  id => {
     data_type         => 'int',
     is_auto_increment => 1,
   },
@@ -28,8 +30,13 @@ __PACKAGE__->add_columns (
   },
 );
 
-__PACKAGE__->set_primary_key('installed');
+__PACKAGE__->set_primary_key('id');
 __PACKAGE__->add_unique_constraint(['version']);
 __PACKAGE__->resultset_class('DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResultSet');
 
 1;
+
+# vim: ts=2 sw=2 expandtab
+
+__END__
+