Update to hide modules from the PAUSE Indexer.
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / TwoKeys.pm
index 12943b8..91a6fef 100755 (executable)
@@ -1,17 +1,13 @@
-package DBICTest::TwoKeys;
+package # hide from PAUSE
+    DBICTest::Schema::TwoKeys;
 
 use base 'DBIx::Class::Core';
 
-DBICTest::TwoKeys->table('twokeys');
-DBICTest::TwoKeys->add_columns(qw/artist cd/);
-DBICTest::TwoKeys->set_primary_key(qw/artist cd/);
-DBICTest::TwoKeys->add_relationship(
-    artist => 'DBICTest::Artist',
-    { 'foreign.artistid' => 'self.artist' }
-);
-DBICTest::TwoKeys->add_relationship(
-    cd => 'DBICTest::CD',
-    { 'foreign.cdid' => 'self.cd' }
+DBICTest::Schema::TwoKeys->table('twokeys');
+DBICTest::Schema::TwoKeys->add_columns(
+  'artist' => { data_type => 'integer' },
+  'cd' => { data_type => 'integer' },
 );
+DBICTest::Schema::TwoKeys->set_primary_key(qw/artist cd/);
 
 1;