Extra test classes
Matt S Trout [Mon, 2 Jan 2006 18:07:52 +0000 (18:07 +0000)]
t/lib/DBICTest/Schema/CD_to_Producer.pm [new file with mode: 0644]
t/lib/DBICTest/Schema/Producer.pm [new file with mode: 0644]

diff --git a/t/lib/DBICTest/Schema/CD_to_Producer.pm b/t/lib/DBICTest/Schema/CD_to_Producer.pm
new file mode 100644 (file)
index 0000000..4c111c4
--- /dev/null
@@ -0,0 +1,9 @@
+package DBICTest::Schema::CD_to_Producer;
+
+use base 'DBIx::Class::Core';
+
+__PACKAGE__->table('cd_to_producer');
+__PACKAGE__->add_columns(qw/cd producer/);
+__PACKAGE__->set_primary_key(qw/cd producer/);
+
+1;
diff --git a/t/lib/DBICTest/Schema/Producer.pm b/t/lib/DBICTest/Schema/Producer.pm
new file mode 100644 (file)
index 0000000..c8dbf70
--- /dev/null
@@ -0,0 +1,9 @@
+package DBICTest::Schema::Producer;
+
+use base 'DBIx::Class::Core';
+
+__PACKAGE__->table('producer');
+__PACKAGE__->add_columns(qw/producerid name/);
+__PACKAGE__->set_primary_key('producerid');
+
+1;