From: Matt S Trout Date: Mon, 2 Jan 2006 18:07:52 +0000 (+0000) Subject: Extra test classes X-Git-Tag: v0.05005~119^2~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=30a8108e0f21f217adc36243fd2f58d53e89e924;p=dbsrgits%2FDBIx-Class.git Extra test classes --- diff --git a/t/lib/DBICTest/Schema/CD_to_Producer.pm b/t/lib/DBICTest/Schema/CD_to_Producer.pm new file mode 100644 index 0000000..4c111c4 --- /dev/null +++ b/t/lib/DBICTest/Schema/CD_to_Producer.pm @@ -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 index 0000000..c8dbf70 --- /dev/null +++ b/t/lib/DBICTest/Schema/Producer.pm @@ -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;