No longer support unique constraints in Ordered.
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / Track.pm
index be0f273..9bbefff 100644 (file)
@@ -1,4 +1,5 @@
-package DBICTest::Schema::Track;
+package # hide from PAUSE 
+    DBICTest::Schema::Track;
 
 use base 'DBIx::Class::Core';
 
@@ -13,9 +14,11 @@ DBICTest::Schema::Track->add_columns(
   },
   'position' => {
     data_type => 'integer',
+    accessor => 'pos',
   },
   'title' => {
     data_type => 'varchar',
+    size      => 100,
   },
 );
 DBICTest::Schema::Track->set_primary_key('trackid');