Missing svk add, as usual
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / BasicRels.pm
index 9894bb9..7a6f520 100644 (file)
@@ -77,8 +77,7 @@ DBICTest::Schema::Tag->add_relationship(
 
 DBICTest::Schema::Track->add_relationship(
     cd => 'DBICTest::Schema::CD',
-    { 'foreign.cdid' => 'self.cd' },
-    { accessor => 'single' }
+    { 'foreign.cdid' => 'self.cd' }
 );
 
 DBICTest::Schema::TwoKeys->add_relationship(
@@ -101,5 +100,6 @@ DBICTest::Schema::CD_to_Producer->add_relationship(
 
 # now the Helpers
 DBICTest::Schema::CD->many_to_many( 'producers', 'cd_to_producer', 'producer');
+DBICTest::Schema::CD->many_to_many( 'producers_sorted', 'cd_to_producer', 'producer', { order_by => 'producer.name' });
 
 1;